Current State of the GC?

Guillaume Piolat via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Oct 11 07:03:14 PDT 2016


On Monday, 10 October 2016 at 21:12:42 UTC, Martin Lundgren wrote:
> So what's been happening in memory management land lately? Bad 
> GC seems like one of the Dlangs weak points, so showing 
> improvements here could definitely bring more people in.

It's not that the D GC is bad per se, but rather than having a GC 
there requires understanding of what it does and why. It is like 
a knowledge debt that has to be paid back sooner or later.

Once you've paid this cost in understanding (how to be 
deterministic, how to recognize GC errors, how to keep the heap 
small, how to maintain traceability and why) the GC becomes some 
kind of helpful friend, if only a bit creepy.

BTW the GC has seen some improvement with regards to preciseness.


More information about the Digitalmars-d-learn mailing list