Garbage Collection OFF By Default?
Garbage Collection OFF By Default?
- Subject: Garbage Collection OFF By Default?
- From: "David H. Silber" <email@hidden>
- Date: Wed, 10 Dec 2008 23:16:17 -0500
Hi folks,
With a "Cocoa Application" project newly created with Xcode 3.1.2, I
notice that Garbage Collection is set to "Unsupported". This surprises
me as I would think that GC would be preferable for all applications but
the most performance-critical. Can anyone speak knowledgeably about why
that is the default and what downsides there would be to turning it on?
I note that some Objective-C 2.0 features are not available for 32-bit
platforms, but I haven't seen anything that would suggest that GC is one
of those features.
(Leopard on a G4, if that makes a difference.)
For others who might want to play along at home, the setting is hiding
in:
Project --> Edit Project Settings --> Build -->
GCC 4.0 - Code Generation --> Objective-C Garbage Collection
Configuration is set to: "Active (Debug)"
Regards,
David
--
David H. Silber -- http://DavidSilber.name/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden