Possible Duplicate:
What is the difference between Objective-C automatic reference counting and garbage collection?
iOS uses ARC. But is it really better? Is it better for mobile platforms or it's better in general?
Possible Duplicate:
What is the difference between Objective-C automatic reference counting and garbage collection?
iOS uses ARC. But is it really better? Is it better for mobile platforms or it's better in general?
It's better in general. Why would you put up with the runtime overhead of a garbage collector when the compiler can generate code that doesn't leave garbage lying around in the first place? ARC gives you the memory management convenience of garbage collection without the garbage collector.