Smart pointers instead of GC?

Walter Bright newshound2 at digitalmars.com
Tue Feb 4 14:32:06 PST 2014


On 2/4/2014 4:10 AM, Shammah Chancellor wrote:
> On 2014-02-04 06:50:51 +0000, Walter Bright said:
>
>> On 2/3/2014 1:42 PM, Shammah Chancellor wrote:
>>> It's also probably
>>> possible to create a drop-in replacement for the GC to do something else.
>>
>> It certainly is possible. There's nothing magic about the current GC, it's
>> just library code.
>
> Is it possible that we add some additional functionality to the GC API so that
> it could do ARC?  I took a look at it, and it seems that right now, there'd be
> no way to implement ARC.

ARC would require compiler changes, so it cannot be drop in.



More information about the Digitalmars-d mailing list