• 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 OFF By Default?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Garbage Collection OFF By Default?
      • From: Chris Espinosa <email@hidden>
  • Prev by Date: Creating a disk image of a folder in a launch daemon script
  • Next by Date: Re: Garbage Collection OFF By Default?
  • Previous by thread: Creating a disk image of a folder in a launch daemon script
  • Next by thread: Re: Garbage Collection OFF By Default?
  • Index(es):
    • Date
    • Thread