Go 1.5
thedeemon via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Sat Sep 19 01:36:49 PDT 2015
On Friday, 18 September 2015 at 19:26:27 UTC, Rory wrote:
> The new GC in Go 1.5 seems interesting. What they say about is
> certainly interesting.
They went the way of classical GC-ed language where write
barriers are used actively, allowing to make concurrent,
incremental and (eventually, if not yet) generational GC. However
it has a cost - pointer field updates are slower than in plain
C/C++/D, and overall speed is close to Java. D tries to be like C
and C++ where simple code is fast and straightforward, there are
no write barriers and there will never be, without changing the
language design. It means D's GC will always be dog slow - it has
to stop the world and scan full heap every time. And that leads
to different usage pattern where GC heap should remain small and
GC allocation rate low.
More information about the Digitalmars-d-announce
mailing list