• 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: Memory Management Q. 1 and 2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Memory Management Q. 1 and 2


  • Subject: Re: Memory Management Q. 1 and 2
  • From: "Michael Ash" <email@hidden>
  • Date: Sun, 21 Dec 2008 16:47:53 -0500

On Sun, Dec 21, 2008 at 3:04 PM, Andreas Mayer <email@hidden> wrote:
>
> Am 21.12.2008 um 18:37 Uhr schrieb Bill Bumgarner:
>
>> Though still useful to know the above, for new code there is generally no
>> reason to avoid GC:
>>
>>
>> http://developer.apple.com/documentation/Cocoa/Conceptual/GarbageCollection/Introduction.html
>
> Unless you want your code to run on anything before 10.5 - or on an iPhone
> for that matter.

Or if you want to store NSInvocation objects long-term, or if you need
low latency processing, or if you want to be able to safely take the
address of a global variable, or use the bytes pointer of a temporary
NSData object without jumping through hoops, or....

GC can be nice, but there are a *ton* of reasons why someone might not
want to use it.

Mike
_______________________________________________

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

  • Follow-Ups:
    • Re: Memory Management Q. 1 and 2
      • From: Robert Marini <email@hidden>
References: 
 >Memory Management Q. 1 and 2 (From: Nick Rogers <email@hidden>)
 >Re: Memory Management Q. 1 and 2 (From: Bill Bumgarner <email@hidden>)
 >Re: Memory Management Q. 1 and 2 (From: Andreas Mayer <email@hidden>)

  • Prev by Date: Re: Optimizing NSRectFill
  • Next by Date: Re: Memory Management Q. 1 and 2
  • Previous by thread: Re: Memory Management Q. 1 and 2
  • Next by thread: Re: Memory Management Q. 1 and 2
  • Index(es):
    • Date
    • Thread