• 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: Scott Ribe <email@hidden>
  • Date: Tue, 16 Oct 2012 18:44:43 -0600

On Oct 16, 2012, at 6:03 PM, Rick Mann 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.

It can work, but it still requires a conservative collector, which brings in some compromise in efficiency.

Now I don't really know how much compromise in real-life apps, nor how much of a role this played in Apple's decision--it's just one example possibility. Also, remember, (from what I've seen) iOS performs better than Android on similar hardware--so it's not like there's a counter example of GC working really well for mobile.

> But, I'm willing to let this discussion drop. I was just curious.

Hey, feel free, I don't have anything else to say about it ;-) Well, OK, one thing, just to be clear--I'm as disappointed as anybody about GC being deprecated. I've long looked forward to it as the future, and was hopeful about seeing it move into iOS 5 or 6.

--
Scott Ribe
email@hidden
http://www.elevated-dev.com/
(303) 722-0567 voice





 _______________________________________________
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: Re: Why ARC over garbage collection?
  • Previous by thread: Re: Why ARC over garbage collection?
  • Next by thread: Re: Why ARC over garbage collection?
  • Index(es):
    • Date
    • Thread