More radical ideas about gc and reference counting

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Sun May 11 22:11:28 PDT 2014


On 5/11/2014 9:47 PM, Marco Leise wrote:
> Am Sun, 11 May 2014 14:41:10 -0700
> schrieb Walter Bright <newshound2 at digitalmars.com>:
>
>> Your proposal still relies on a GC to provide the memory safety,
>> […] it is a hybrid ARC/GC system.
>
> But I thought ARC cannot be designed without GC to resolve
> cycles.

It can be, there are various schemes to deal with that, including "don't create 
cycles". GC is just one of them.

http://en.wikipedia.org/wiki/Reference_counting#Dealing_with_reference_cycles


More information about the Digitalmars-d mailing list