• 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
Garbage collection - was Beginner with Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Garbage collection - was Beginner with Cocoa


  • Subject: Garbage collection - was Beginner with Cocoa
  • From: Bill Cheeseman <email@hidden>
  • Date: Mon, 24 Mar 2008 10:57:34 -0400
  • Thread-topic: Garbage collection - was Beginner with Cocoa

on 2008-03-24 10:32 AM, Scott Thompson at email@hidden wrote:

> Over time, there will be more code able to take advantage of the
> Garbage Collector, but I think it will be some time before it's
> ubiquitous enough to remove the retain/release memory management
> scheme from the literature.

Let me be one of the first to say that the Emperor has no clothes.

What I mean is, for those of us who are already fully comfortable with
reference counting, it's easier than learning the nuances and limitations of
garbage collection. Frankly, reading the garbage collection docs scares me
to death because of all the nooks and crannies where you apparently have to
be careful, while I can code retain/release with my eyes shut. I'm sure I'll
eventually get comfortable with garbage collection, but I do hope that
reference counting doesn't go away.

I've written a Cocoa framework that is intended to be usable with both
retain/release and garbage collection (and 32-bit and 64-bit). But I don't
know whether I did it right, and I have no idea how to go about finding out.

--

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

  • Follow-Ups:
    • Re: Garbage collection - was Beginner with Cocoa
      • From: colo <email@hidden>
References: 
 >Re: Beginner with Cocoa (From: Scott Thompson <email@hidden>)

  • Prev by Date: Re: NSDistributedNotification names
  • Next by Date: Re: NSDistributedNotification names
  • Previous by thread: Re: Beginner with Cocoa
  • Next by thread: Re: Garbage collection - was Beginner with Cocoa
  • Index(es):
    • Date
    • Thread