Re: Why ARC over garbage collection?
Re: Why ARC over garbage collection?
- Subject: Re: Why ARC over garbage collection?
- From: Jean-Daniel Dupas <email@hidden>
- Date: Tue, 16 Oct 2012 11:18:21 +0200
Le 16 oct. 2012 à 11:05, Mikkel Islay <email@hidden> a écrit :
>
> On 16 Oct 2012, at 02:24, Jens Alfke wrote:
>
>> Unless they’re Android or Windows Phone devices, both of which use garbage-collected runtimes (Java and C#/CLR, respectively.)
>
> Given the subject of the thread, it is perhaps relevant to mention that Microsoft has adopted a unmanaged runtime for Windows 8 for mobile and desktop, as well.
> The new C++/CX provides automatic reference-counting against the Win RT API.
In the case of Windows 8, my understanding is that it is a little more complex than that. WinRT classes are ref counted, but if you write your application using C#, it always has to load the CLR and use Garbage collection for CLR classes, just like it let you manually manage memory for classic classes if you use C++/CX.
So on Windows phone, unless you write your app only in C++/CX, you always have a garbage collector running.
-- Jean-Daniel
_______________________________________________
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