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

Re: Beginner with Cocoa


  • Subject: Re: Beginner with Cocoa
  • From: Scott Thompson <email@hidden>
  • Date: Mon, 24 Mar 2008 09:32:40 -0500


On Mar 24, 2008, at 7:12 AM, Jeff LaMarche wrote:
I'g be rather surprised if the Cocoa books took out discussions of traditional objective-C memory managements in their next releases. It's still available for use, and as you mention, necessary for writing to earlier versions of the OS, not to mention for programming that thing that we're allowed to talk about programming for here.

It would not surprise me. There are still a lot of cases where you cannot make use of the Garbage Collector.
For example, I would hope that Cocoa development books might discuss the Ruby and Python Objective-C bridges. If you either bridge in your application (either to implement an embedded scripting language, or as the main implementation language), then you will not be able to use the garbage collector.


There are also third party frameworks and libraries that may not yet be available in garbage collected versions. Applications linking to those libraries will have to use the traditional memory management scheme as well.

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.

Scott
_______________________________________________

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:
    • Garbage collection - was Beginner with Cocoa
      • From: Bill Cheeseman <email@hidden>
References: 
 >Beginner with Cocoa (From: Alex Handley <email@hidden>)
 >Re: Beginner with Cocoa (From: Jeff LaMarche <email@hidden>)
 >Re: Beginner with Cocoa (From: Jack Repenning <email@hidden>)
 >Re: Beginner with Cocoa (From: "Sherm Pendley" <email@hidden>)
 >Re: Beginner with Cocoa (From: Jeff LaMarche <email@hidden>)

  • Prev by Date: Re: Quickly remove contents from NSArrayController
  • Next by Date: Re: Quickly remove contents from NSArrayController
  • Previous by thread: Re: Beginner with Cocoa
  • Next by thread: Garbage collection - was Beginner with Cocoa
  • Index(es):
    • Date
    • Thread