News for hackers. Stuff that matters.
Re:Reclaiming C++ Data Structures with Cycles by DannyBee on Thursday October 13, 2016 @11:16AM (#12701275)
This is technically correct (though in most gc's, if you allocate and keep a single byte, you pay for it with various barriers, etc, forever) but then, because they have good GC's that are like this, almost every GC language used allocates all the time.

So it would be more accurate to say "Most GC's will not cost you a single cycle if you and the underlying language runtime and execution environment do not allocate".

IE your statement, while true in theory, makes literally no practical difference if allocations happen all the time without you knowing or controlling it.

There are no comments on this comment yet.