News for hackers. Stuff that matters.
Re:Mac Apps That Use Garbage Collection Must Move to ARC by falcolas on Saturday February 21, 2015 @11:03AM (#9085818)
I wonder how many applications will start leaking memory as a result of this? Cyclic references are not that uncommon in many algorithms, and identifying the need to remove these will be challenging for applications which relied on automatic identification will take time.
Re:Mac Apps That Use Garbage Collection Must Move to ARC by jjoonathan on Saturday February 21, 2015 @03:59PM (#9086915)
When it comes to overall ease of use, the importance of tooling dwarfs the importance of GC vs RC, and apple has had really solid RC tooling for a while. It graphs memory usage, searches out leaked objects (by injected GC or by diffs), lists them, lists the retain/release events with timestamps, and lets you jump to the responsible code with a single click. Compare that to the nightmare of trying to get a misbehaving GC to cooperate and suddenly it doesn't seem so crazy.

EDIT: Or at least they had such tools 5-6 years ago, regression is certainly possible. For unrelated reasons I've been playing in other playgrounds for the last 5-6 years so I can't say for sure.

Re:Mac Apps That Use Garbage Collection Must Move to ARC by jahewson on Saturday February 21, 2015 @12:20PM (#9086108)
Xcode can help with that, as it says in the "Transitioning to ARC Release Notes":

> To aid in migrating existing applications, the ARC migration tool in Xcode 4.3 and later supports migration of garbage collected OS X applications to ARC.