-nogc

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Thu Apr 23 10:33:57 PDT 2009


Leandro Lucarella wrote:
> Oh! So you mean -nomarksweep then, right? Rerence counting *is* a garbage
> collection algorithm.

Probably the best way is to express it as a positive:

-object=object_marksweep.d
-object=object_refcount.d
-object=object_generational.d

The point is that changing the relatively small object.d enables various 
fundamental approaches to allocation.

>> 8. Well with this all a very solid offering of D without garbage
>> collection would be available at a low cost!
> 
> Besides this not being "non gc D", seems like a good idea. If I know there
> were any chance that RC had a chance to be accepted in the D, I would
> included it in my thesis.

Walter?

>> One cool thing is that you can compile the same application with and
>> without GC and test the differences easily. That's bound to show a
>> number of interesting things!
> 
> Please, stop calling it "without GC", is really confusing =)

I agree.


Andrei



More information about the Digitalmars-d mailing list