• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Fast Enumeration and temporary objects/autoreleasing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fast Enumeration and temporary objects/autoreleasing


  • Subject: Re: Fast Enumeration and temporary objects/autoreleasing
  • From: Sean McBride <email@hidden>
  • Date: Tue, 17 Apr 2012 12:28:01 -0400
  • Organization: Rogue Research Inc.

On Tue, 17 Apr 2012 10:10:44 +1000, Graham Cox said:

>Memory management is really quite straightforward

I know what you mean, and agree that at its core ref counting is straightforward.  But in practice Cocoa memory management is not so simple.  Just look at this beast:

<https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/LoadingResources/CocoaNibs/CocoaNibs.html#//apple_ref/doc/uid/10000051i-CH4-SW18>

It's a shame that GC is being deprecated.  It's the nicest memory management Cocoa has had, but its performance left something to be desired for sure.

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada



_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden


References: 
 >Fast Enumeration and temporary objects/autoreleasing (From: Patrick Robertson <email@hidden>)
 >Re: Fast Enumeration and temporary objects/autoreleasing (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: Is there a glue file between Carbon and Cocoa?
  • Next by Date: Re: Is there a glue file between Carbon and Cocoa?
  • Previous by thread: Re: Fast Enumeration and temporary objects/autoreleasing
  • Next by thread: When to declare variables and the compiler's intelligence
  • Index(es):
    • Date
    • Thread