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 <r...@menumachine.com>
To: cocoa-dev Dev <cocoa-dev@lists.apple.com>
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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/idou747%40yahoo.com

This email sent to idou...@yahoo.com



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

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to