News for hackers. Stuff that matters.
Re:Objective-C Memory Management For Lazy People by stuhacking on Thursday December 09, 2010 @04:45AM (#1986808)
Objective-C memory management is still an abstract concept that has, as the root of it's mechanism, objects. You create an object, you release an object.

C's memory management has a simplistic interface: malloc/free. However it operates on the notion of raw memory space. You need to do more work figuring out how much memory you need based on the size of your objects.

C's memory management is not difficult, but it is more involved. The author says it pretty well when he states that Obj-C hits a middle ground between GC and manual memory management. It elevates the control of memory to a level where it makes more contextual sense.

There are no comments on this comment yet.