• 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: Why ARC over garbage collection?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why ARC over garbage collection?


  • Subject: Re: Why ARC over garbage collection?
  • From: "Glenn L. Austin" <email@hidden>
  • Date: Tue, 16 Oct 2012 21:04:20 -0700

On Oct 16, 2012, at 5:03 PM, Rick Mann <email@hidden> wrote:

> Is that really the case, given the code analysis that can be done nowadays? It seems like a combination of GC and -non-GC code can be made to work. I haven't thought very hard about it, but I don't see why even C/C++ code can't be made to work in a GC environment, even older code that calls malloc/new/free/delete.
>
> But, I'm willing to let this discussion drop. I was just curious.

At WWDC this year in the ARC discussion, the fact that the code analyzer does such a good job of recognizing when to release or not, why not have the analyzer part of the compiler insert the necessary retains, releases, and autoreleases?  Adding the parameter and variable qualifiers to the language to help the analyzer do the right thing when it needs help is a good thing.

--
Glenn L. Austin, Computer Wizard and Race Car Driver         <><
<http://www.austin-soft.com>


 _______________________________________________
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

References: 
 >Why ARC over garbage collection? (From: Rick Mann <email@hidden>)
 >Re: Why ARC over garbage collection? (From: Fritz Anderson <email@hidden>)
 >Re: Why ARC over garbage collection? (From: Jens Alfke <email@hidden>)
 >Re: Why ARC over garbage collection? (From: Fritz Anderson <email@hidden>)
 >Re: Why ARC over garbage collection? (From: Rick Mann <email@hidden>)
 >Re: Why ARC over garbage collection? (From: Jean-Daniel Dupas <email@hidden>)
 >Re: Why ARC over garbage collection? (From: Rick Mann <email@hidden>)
 >Re: Why ARC over garbage collection? (From: Scott Ribe <email@hidden>)
 >Re: Why ARC over garbage collection? (From: Rick Mann <email@hidden>)

  • Prev by Date: Re: Why ARC over garbage collection?
  • Next by Date: Provisioning profile doesn't match WRONG!
  • Previous by thread: Re: Why ARC over garbage collection?
  • Next by thread: Build failure dependent on target device/simulator
  • Index(es):
    • Date
    • Thread