Questions about Garbage Collection
Questions about Garbage Collection
- Subject: Questions about Garbage Collection
- From: Gordon Apple <email@hidden>
- Date: Thu, 20 Nov 2008 11:32:07 -0600
- Thread-topic: Questions about Garbage Collection
Last year when I moved to 10.5 and Objective C 2.0, I made the decision
to move to garbage collection (GC). After seemingly working ok, I deleted
most of my pre-GC code, e.g., retain, release, dealloc. I am now regretting
that decision. I am running into major problems in working with images,
QTKit, and certain third-party libraries such as Macam (lets you use USB
cameras) that all seem to be related to GC. I am also now finding
admonitions against using GC in such applications due to problems and
performance issues. I really hate going back through all my code to go
non-GC, but it looks like I may not have a choice. Apparently, GC is like
being a little bit pregnant. It is or it isn't.
Some of the bugs I've reported in QTKit have supposedly been fixed in
SnowLeopard, but I haven't had the external drive to check it out and see if
the current (I think) GC bug I'm experiencing has been fixed. Also, maybe
someone will fix Macam. (This is could be the reason Macam does not work
with iChat.)
Has anyone else had to go through this reverse transition? Is GC really
that problematic? If so, it would have been nice to know before I started.
_______________________________________________
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