• 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
Re: Questions about Garbage Collection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Questions about Garbage Collection


  • Subject: Re: Questions about Garbage Collection
  • From: "Ken Ferry" <email@hidden>
  • Date: Thu, 20 Nov 2008 15:54:51 -0800

If you do decide to go to ref counting, you should check out the llvm
static analyzer.  It can help keep easy common cases from falling
through the cracks.

http://clang.llvm.org/StaticAnalysis.html

-Ken

On Thu, Nov 20, 2008 at 9:32 AM, Gordon Apple <email@hidden> wrote:
>    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
>
_______________________________________________

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

References: 
 >Questions about Garbage Collection (From: Gordon Apple <email@hidden>)

  • Prev by Date: Re: GC and print operations cause objects not to finalize?
  • Next by Date: Re: Table scroll bars
  • Previous by thread: Re: Questions about Garbage Collection
  • Next by thread: Re: Cocoa-dev Digest, Vol 5, Issue 1988
  • Index(es):
    • Date
    • Thread