Go 1.5

Ola Fosheim Grøstad via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Mon Sep 21 07:47:41 PDT 2015


On Monday, 21 September 2015 at 14:30:19 UTC, Chris wrote:
> What's the current state of D's GC. Will std.allocator improve 
> things eventually?

I don't understand the point of std.allocator.

AFAIK the current GC has very limited compiler support. A smart 
compiler could move allocations to the stack by doing smart 
static analysis, cluster pointers that should be traced to the 
same cache lines etc.

Moving to library allocation just makes it even harder to write a 
smart compiler, for very little gain IMO (i.e. custom allocators 
will always be better).



More information about the Digitalmars-d-announce mailing list