Re: Why ARC over garbage collection?
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