• 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: Jean-Denis MUYS <email@hidden>
  • Date: Tue, 16 Oct 2012 16:40:58 +0000
  • Thread-topic: Why ARC over garbage collection?


On 16 oct. 2012, at 17:54, Jens Alfke <email@hidden>
 wrote:

In Lisp, you don't have pointers, and the only way to allocate memory is to "cons" (at least from the programmer perspective).

That’s exactly what I mean by ‘managed’, and I think that’s the regular definition. 

I had in mind the presence of a virtual machine. Wikipedia is closer to that than to your definition:

Managed code is a term coined by Microsoft to identify computer program source code that requires and will only execute under the management of a Common Language Runtime virtual machine (resulting in byte code).

This has nothing to do with whether or not it compiles to native code.

To the extent that managed code was opposed to native applications, the overload of the "native" term is a bit confusing then.

The point remains of course: to allow for seamless and efficient GC, limitations have to be imposed to what the programmer can do. In the context of Cocoa and OS X, the issue is that one feature of Objective-C (C pointers) makes that difficult.

Regards,

Jean-Denis

 _______________________________________________
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: Jean-Denis MUYS <email@hidden>)
 >Re: Why ARC over garbage collection? (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Post-action Script Syntax. Was: Finding the Xcode 4 "Build Products Path"
  • 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