What's the go with the GC these days?

Guillaume Piolat first.last at gmail.com
Sun Jan 6 16:51:35 UTC 2019


On Saturday, 5 January 2019 at 22:05:19 UTC, Manu wrote:
> How much truth is in here?

The truth of oft-repeated mantras?

http://www.infognition.com/blog/2014/the_real_problem_with_gc_in_d.html taught us how small our heap should be to keep performance.

The situation has improved since with -betterC, -profile=gc, 
allocators, @nogc. Piece of knowledge too (avoid void[]).

The D GC doesn't seem to stop people from implementing fast 
systems.
When we disabled GC completely and went completely manual, we got 
zero speed improvement, only memory usage decrease. GC is 
surprinsingly affordable.


More information about the Digitalmars-d mailing list