RFC: reference counted Throwable

via Digitalmars-d digitalmars-d at puremagic.com
Sat Sep 20 01:16:39 PDT 2014


On Saturday, 20 September 2014 at 05:46:44 UTC, Andrei 
Alexandrescu wrote:
>> D can have ref counted objects, but it will not work with a 
>> compiler
>> switch to switch them back and forth. They'll have to coexist 
>> peacefully
>> with GC objects.
>
> We need to figure out a design. All I'm saying is we must not 
> bring prejudice to the table. And a very basic point is: there 
> will be a way to COMPLETELY disable the GC. That is a must.

The ref counted objects still need to be considered as roots for 
the GC. This limits how much "completely" can be achieved.


More information about the Digitalmars-d mailing list