On Apr 26, 2014, at 10:32 AM, Dave <d...@looktowindward.com> wrote:

> Really, what OS other, makes you clean up after it?

Um.

You were making a joke, right? Or do you honestly think that Win32 or GTK or 
POSIX or whatever don't require some attention to memory management?
Have you ever heard of malloc() and free()? AddRef() and Release()? 
g_object_ref() and g_object_unref()?

Yes, there are mainstream garbage-collected platforms now like Android and 
.NET. Guess what, in those you also have to spend time baby-sitting memory 
management, when you diagnose why your app’s heap size explodes during some 
operation or other. Then you get to fool around with weak-references or object 
caches or other hacks to try to avoid allocating objects faster than the GC can 
clean them up. (I have seen people on mailing lists complain that they want to 
be able to manually release/deref/free objects instead of having the GC babysit 
them. Sigh.)

—Jens
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to