Random points from a D n00b CTO
Kagamin via Digitalmars-d
digitalmars-d at puremagic.com
Tue Jul 15 10:20:41 PDT 2014
On Monday, 14 July 2014 at 14:09:22 UTC, Manu via Digitalmars-d
wrote:
>> I don't think ARC would work in D. You'd need support for
>> controlling the
>> reference count in certain situations. You'd need type
>> signatures for
>> different reference types. You'd have to remove the GC.malloc
>> function, as
>> it would actually be manually memory managed with ARC, or
>> otherwise return
>> a fatter pointer, which would make it pretty useless. I hold
>> more hope for
>> someone improving the garbage collector implementation. This
>> will happen
>> sooner when someone who needs it takes the time to write it.
>>
>
> If it were that simple, I reckon someone would have done it by
> now. Nobody
> seems to know how to do it.
It's not hard to do it the conservative way, it's hard to do it
the better way (the conservative way is rather slow or so people
believe, I didn't see numbers), and there's a feeling D type
system allows the better implementation.
More information about the Digitalmars-d
mailing list