Linked by Zachary Pinter on Tue 27th Apr 2004 17:09 UTC
General Development Garbage collection (GC) is a technology that frees programmers from the hassle of explicitly managing memory allocation for every object they create. Traditionally, the benefit of this automation has come at the cost of significant overhead. However, more efficient algorithms and techniques, coupled with the increased computational power of computers have made the overhead negligible for all but the most extreme situations.
Permalink for comment
To read all comments associated with this story, please click here.
re: Reference Counting
by Allan Sandfeld on Tue 27th Apr 2004 21:21 UTC

Reference counting is probably the most widely used automatic memory reclaiming technique, it just not very good as a general purpose garbage collectorr. It is used in most object oriented languages or toolkits as a way to keep track of implicitly shared objects, and lots of other places that just needs a fast and secure way to share object between peers (as long as you make sure objects aren't peers they will not be self-referential).

I would love to see garbage collection as part of broad toolkit of memory managers, but so far as stand alone models they have seriously underimpressed me.