Thread-local GC?
deadalnix via Digitalmars-d
digitalmars-d at puremagic.com
Thu Jul 10 15:03:24 PDT 2014
On Thursday, 10 July 2014 at 02:51:05 UTC, logicchains wrote:
> I was wondering if thread-local GC had been considered an
> option for making D's GC work better in threaded code? Erlang
> has this (well, process-local GC, which is closer to
> fibre-local in D terms) and it seems to work okay, although I
> don't think Erlang allows shared memory between processes.
>
> If this were possible, it would be particularly useful if it
> could be combined with nogc to allow the spawning of nogc
> threads. These could be used for latency-sensitive work, with
> the guarantee that work done in a nogc thread would never be
> paused by garbage collection done in other threads.
I'm beating that drum for 2 years. SDC do not give me enough
bandwidth to handle that one.
More information about the Digitalmars-d
mailing list