Mac Apps That Use Garbage Collection Must Move to ARC

via Digitalmars-d digitalmars-d at puremagic.com
Thu Feb 26 01:45:07 PST 2015


On Wednesday, 25 February 2015 at 15:55:26 UTC, Manu wrote:
> On 24 February 2015 at 10:36, deadalnix via Digitalmars-d
>> I'd like to see ARC support in D, but I do not think it makes 
>> sense as a
>> default.
>
> Then we will have 2 distinct worlds. There will be 2 kinds of D 
> code,
> and they will be incompatible... I think that's worse.

There are already at least 2 kinds of D code. @nogc and with gc...

Do you want ARC without regular pointers? I think you will find 
the performance disappointing...

I don't mind replacing the current GC with ARC, but only if ARC 
is used with the same low frequency as shared_ptr in C++...


More information about the Digitalmars-d mailing list