Re: Garbage Collection in 10.4
Re: Garbage Collection in 10.4
- Subject: Re: Garbage Collection in 10.4
- From: Bill Bumgarner <email@hidden>
- Date: Tue, 6 Nov 2007 09:22:18 -0800
On Nov 6, 2007, at 9:04 AM, Hans van der Meer wrote:
My question is sligthly different: If I switch over to 10.5 and opt
for garbage collection in my Cocoa programs, will these programs run
under 10.4? Or do I have to maintain 2 versions, one with gc for
10.5 and one with manually managed memory for running on 10.4?
(I need to keep a 10.4 system running)
As Shawn said, "No" -- No, you can't compile a dual mode chunk of code
on Leopard and deploy it on Tiger, GC or non-GC. When compiling dual
mode code (or GC only code), the compiler generates references to
symbols that do not exist on Tiger.
The real question, though, is why would you want to deploy with GC
enabled on Leopard if you have to support non-GC on Tiger? Why bother
incurring the cost of maintaining, debugging, and optimizing your code
for two different memory management models?
If you need to support Tiger, stick with non-GC.
b.bum
_______________________________________________
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