Re:Real-Time Garbage Collection Is Real
by waps on Tuesday November 11, 2014 @12:46AM
(#8588514)
> RAII, smart pointers and ARC aren't free lunches, which is why people had moved from them to GC in the first place.
Yet GC solves 10% of the problem that RAII solves. Tbh I would call them "similar". GC has the advantage of being much more tolerant of sloppy programming, but if you compare the complexity of GC with the complexity of RAII, I'd say RAII has a clear advantage.
Yet GC solves 10% of the problem that RAII solves. Tbh I would call them "similar". GC has the advantage of being much more tolerant of sloppy programming, but if you compare the complexity of GC with the complexity of RAII, I'd say RAII has a clear advantage.