Some simple ideas about GC

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Mon May 12 16:44:14 PDT 2014


On 5/12/14, 4:09 PM, Martin Nowak wrote:
> I'd like to share some thoughts on improving D's GC, nothing radically
> different though.
>
> A few observations

I'll keep those with which std.allocator is likely to help:

> - The current GC code is not hackable. First rewrite then improve.
>
> - A testable and more modular rewrite (using recent D practices) would
> encourage more contribution and is necessary for experimentation.

I think std.allocator is some 15 work-hours from reviewable form, and 
std.typed_allocator (with tracing and all) some 50 more work-hours. 
Unfortunately these numbers grow due to fragmentation - and OMG I made a 
pun too.


Andrei



More information about the Digitalmars-d mailing list