News for hackers. Stuff that matters.
Re:Why I'm Choosing C++ by Aeolos on Monday February 01, 2016 @03:47AM (#11010586)
The thing is... std::shared_ptr is slower than a modern GC. It also doesn't protect you from memory fragmentation.

GC is indeed a hack: it approximates an infinite memory system on systems that have finite memory. Reference counting is a worse hack: it approximates a GC on languages/systems that can't afford a real GC.

There are no comments on this comment yet.