Linked by Zachary Pinter on Tue 27th Apr 2004 17:09 UTC
Permalink for comment
To read all comments associated with this story, please click here.
To read all comments associated with this story, please click here.
News
Linked by Thom Holwerda on 05/22/13 13:38 UTC
Linked by Thom Holwerda on 05/22/13 13:30 UTC, submitted by JRepin
Linked by Thom Holwerda on 05/21/13 22:06 UTC
Linked by Thom Holwerda on 05/21/13 21:45 UTC
Linked by Thom Holwerda on 05/21/13 15:53 UTC
Linked by Thom Holwerda on 05/20/13 22:43 UTC
Linked by Thom Holwerda on 05/20/13 21:50 UTC
Linked by Thom Holwerda on 05/19/13 23:15 UTC
Linked by Thom Holwerda on 05/19/13 23:11 UTC, submitted by Drumhellar
Linked by Thom Holwerda on 05/18/13 21:06 UTC
More News »
Sponsored Links



Conservative collectors do not guarantee determinite deallocation. Conservative collectors simply let you use GC with a non-cooperative language, by assuming that if a particular word looks like a pointer (regardless of whether it may just be an integer), it should be treated as a pointer into the heap. This is not a greatest way to do GC, but it performs pretty well in practice.
What you're thinking of is something like boost::shared_ptr, or one of the other resource-managing templates. They are good within the confines of C++, but they are much more cumbersome to program (C++ really doesn't make the wrapper transparent except for at invocation), and perform poorly compared to a real GC.