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.
Excellent article
by tuttle on Tue 27th Apr 2004 17:26 UTC

Many people still think that malloc/free will be faster than GC in all situations. But this is no longer the case. The progress in garbage collection algorithms in the last 10 years has been amazing.

The only thing that is still much faster than a good generational garbage collector is stack allocation. But fortunately .NET has limited support for stack allocation using value types.