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.
Reference Counting
by Jason G on Tue 27th Apr 2004 18:14 UTC

Though this technique provides a good conceptual example, it is rarely used in practice.

Well, while it's not the best way to go, it's easy to implement. It's also the garbage collection model for Microsoft's COM.

I'm a Java Programmer mainly now starting to get into some .NET stuff too. But in a past life I was a COM programmer. I've been bitten by cyclical references before.