News for hackers. Stuff that matters.
Re:Mac Apps That Use Garbage Collection Must Move to ARC by pjmlp on Saturday February 21, 2015 @11:04AM (#9085821)
GC never worked properly in Objective-C.

Apple failed to produce a working GC that didn't crash all the time, because it required all Objective-C libraries to be compiled the same way.

Additionally the C subset only allows for conservative GC, which is not optimal when performance matters.

So in the end they went with ARC, with isn't nothing more than having the compiler produce the retain/release calls that Mac OS X frameworks were already expecting anyway.

So this has more to do with how technically feasible it is to have a proper GC in Objective-C, than GC in general.

There are no comments on this comment yet.