News for hackers. Stuff that matters.
Re:Show HN: Compile-time HTML parsing in C++14 by p0nce on Tuesday August 01, 2017 @10:15AM (#14900808)
> Basically the only solution to the stop the world pause with D is to run two instances of your program and then use IPC even though the language provides a way to disable the gc.

There is a solution to your stated problem that is to deregister Thread 2 to the runtime. No registration -> no stop-the-world for this thread. Thread 2 will not be able to "own" GC things or allocate with the GC but will perfectly be able to use them. I did this in a video game for the audio thread.

There are no comments on this comment yet.