• 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: Guidelines for Cocoa frameworks supporting garbage collection?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Guidelines for Cocoa frameworks supporting garbage collection?


  • Subject: Re: Guidelines for Cocoa frameworks supporting garbage collection?
  • From: Bill Cheeseman <email@hidden>
  • Date: Sun, 06 Jul 2008 13:54:52 -0400
  • Thread-topic: Guidelines for Cocoa frameworks supporting garbage collection?

on 2008-07-06 10:50 AM, Clark Cox at email@hidden wrote:

>> He even goes so far as to suggest that it would be
>> dangerous or at least inefficient to use __strong in a mixed environment
>> such as a shared framework that supports both garbage collection and
>> retain/release, due in part to the additional overhead.
>
> What "additional overhead" does he imagine will be incurred?

CFMakeCollectable as a no-op in a retain/release environment? Which I'm not
sure makes sense.

But I am becoming persuaded that your Option #2 is in fact the way to go.
(Even though I can avoid the collection time overhead of -finalize by
implementing some sort of wrapup system such as I outlined in another
message.)

--

Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
www.quecheesoftware.com

PreFab Software - www.prefabsoftware.com


_______________________________________________

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: 
 >Re: Guidelines for Cocoa frameworks supporting garbage collection? (From: "Clark Cox" <email@hidden>)

  • Prev by Date: Re: multiple UndoManagers
  • Next by Date: Re: Guidelines for Cocoa frameworks supporting garbage collection?
  • Previous by thread: Re: Guidelines for Cocoa frameworks supporting garbage collection?
  • Next by thread: Re: Guidelines for Cocoa frameworks supporting garbage collection?
  • Index(es):
    • Date
    • Thread