Manual Memory Management VS ARC
cocoa, objective-c
Solution
- You should at least familiarize yourself with the basic concepts of the manual memory management, because ARC uses it under the hood. You need to learn at least about three things: `retain`, `release`, and `autorelease`. This will help you understand discussions about ARC's inner working.
- ARC is mostly a compiler trick (with some support from the runtime). You can write less code, but you cannot get better performance from it. Essentially, ARC lets you deal with memory management declaratively, while the manual management uses imperative style. However, both systems call the same methods from the runtime.
Problem
I'm reading a book on Objective C, and I was wondering about 2 things: 1.Should I take the time currently to read a whole chapter on memory management since we mostly use ARC?(only asking this question to make sure im managing time properly) 2.If you are doing a really good job on manual management, can you get to better performance than using ARC? (like that your app will work faster) tnx