• 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: GC pros and cons
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GC pros and cons


  • Subject: Re: GC pros and cons
  • From: Michael Ash <email@hidden>
  • Date: Fri, 26 Jun 2009 21:56:07 -0400

On Fri, Jun 26, 2009 at 8:40 PM, James Gregurich<email@hidden> wrote:
>
> On Friday, June 26, 2009, at 04:41PM, "Kyle Sluder" <email@hidden> wrote:
>
>>100% might.  Maybe 0% today, and then tomorrow Apple might release an
>>update that causes all objects to hang around forever.  You don't
>>know, and you shouldn't care.
>
> I don't. in practice its not particularly relevant as I can't think of an instance where I made a class' lifecycle dependent on the lifetime of an NSFont  (just to use your example).
>
> I really don't get this whole line of reasoning. I don't get why the fact that a system keeps an NSFont around justifies me adding a whole new system to scan memory and look for pointers to determine which ones need to be released.

I think you've got it backwards. You're the one who said that GC was
bad because it has nondeterministic behavior for object destruction.
The rest of us are merely pointing out that Cocoa has nondeterministic
object destruction in non-GC mode as well.

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: GC pros and cons
      • From: Philip Ershler <email@hidden>
References: 
 >Re: GC pros and cons (From: James Gregurich <email@hidden>)

  • Prev by Date: Re: GC pros and cons
  • Next by Date: Re: GC pros and cons
  • Previous by thread: Re: GC pros and cons
  • Next by thread: Re: GC pros and cons
  • Index(es):
    • Date
    • Thread