Talk:Language Comparison Table: Difference between revisions

Content added Content deleted
(→‎Language pages: category tre extension)
Line 63: Line 63:
== Garbage Collection? ==
== Garbage Collection? ==


I'm not sure how interesting the stat would be, but how do you guys feel about adding a "Has [[Garbage Collection]]" column to the table? I don't know how many modern language don't have it. The only languages I can be sure of are Java and C/C++. --[[User:Mwn3d|Mwn3d]] 16:39, 1 February 2009 (UTC)
I'm not sure how interesting the stat would be, but how do you guys feel about adding a "Has [[Garbage collection]]" column to the table? I don't know how many modern language don't have it. The only languages I can be sure of are Java and C/C++. --[[User:Mwn3d|Mwn3d]] 16:39, 1 February 2009 (UTC)
: Done, also is there a way to add a foot note? C and C++ have optional GC with Boehm GC, but that's not really optional in the language, nor is it optional by implementation (like Ada is)
: Done, also is there a way to add a foot note? C and C++ have optional GC with Boehm GC, but that's not really optional in the language, nor is it optional by implementation (like Ada is)
::I don't think the column for Garbage collection is very interesting. It is just one method for freeing memory. And even if it is used, it is automatic, so the programmer does not need to care about it.
::I notice that BASIC is said to have garbage collection. However, this is only true for some Basic implementations. For example Sinclair Basic, Beta Basic and SAM Basic do not have garbage collection. Instead, the memory is freed to the system immediately, so there is never any garbage to collect. This makes for example array redimensioning somewhat slower than with some other Basic implementations, but then garbage collection is never fired randomly to slow down the operation. --[[User:PauliKL|PauliKL]] 13:15, 16 February 2009 (UTC)


== About this page ==
== About this page ==