• 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: Chris Idou <email@hidden>
  • Date: Thu, 25 Jun 2009 20:19:31 -0700 (PDT)



I still use XCode in one location where I work on a core-solo Mini. Performance is good. No problems at all, no pauses.




________________________________
From: Rob Keniger <email@hidden>
To: cocoa-dev Dev <email@hidden>
Sent: Friday, 26 June, 2009 12:20:48 PM
Subject: Re: GC pros and cons


On 26/06/2009, at 10:58 AM, Chris Idou wrote:

> Bill.... I don't know if this was discussed before, but could you discuss the lack of GC on the iPhone?


I suspect it is for performance reasons. The Objective-C garbage collector is designed to run in a separate thread on the Mac, which means it can run on its own CPU core separate to the main thread.

In single-core systems, even on the Mac, performance of Garbage Collected code is very poor because the collector has to share CPU time with the main thread. When Xcode 3 (a GC app) was first released in the Leopard betas there were still quite a few people with single-CPU PowerPC laptops who found that Xcode could barely keep up with their typing. On dual-core machines it was fine.

The iPhone has a single-core CPU and a slow one at that, so while I am sure that GC could be turned on, it would probably make developers very unhappy.

--
Rob Keniger



_______________________________________________

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



      Access Yahoo!7 Mail on your mobile. Anytime. Anywhere.
Show me how: http://au.mobile.yahoo.com/mail
_______________________________________________

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: "Adam R. Maxwell" <email@hidden>
References: 
 >Re: GC pros and cons (From: Quincey Morris <email@hidden>)
 >Re: GC pros and cons (From: Chris Idou <email@hidden>)
 >RE: GC pros and cons (From: Jeff Laing <email@hidden>)
 >Re: GC pros and cons (From: "Stephen J. Butler" <email@hidden>)
 >RE: GC pros and cons (From: Jeff Laing <email@hidden>)
 >Re: GC pros and cons (From: Quincey Morris <email@hidden>)
 >RE: GC pros and cons (From: Jeff Laing <email@hidden>)
 >Re: GC pros and cons (From: Peter Duniho <email@hidden>)
 >Re: GC pros and cons (From: Michael Ash <email@hidden>)
 >Re: GC pros and cons (From: Michael Ash <email@hidden>)
 >Re: GC pros and cons (From: Peter Duniho <email@hidden>)
 >Re: GC pros and cons (From: Bill Bumgarner <email@hidden>)
 >Re: GC pros and cons (From: Chris Idou <email@hidden>)
 >Re: GC pros and cons (From: Rob Keniger <email@hidden>)

  • Prev by Date: Re: NSViewController awakeFromNib and NSTableView numberOfRowsInTableView
  • Next by Date: Open Position at IRCAM: MacOSX GUI Developper (C++/Objective-C)
  • Previous by thread: Re: GC pros and cons
  • Next by thread: Re: GC pros and cons
  • Index(es):
    • Date
    • Thread