On Saturday, 8 September 2018 at 08:32:58 UTC, Guillaume Piolat
wrote:
Not Weka but we are happy with @nogc and without @nogc our job
would be impossible.
There is one way to code without garbage collector somewhat
practically without annotating @nogc, the way I use: Compile
manually only those parts of runtime you need and have linker to
link in only needed symbols (so there is no need to go stubbing
the whole runtime). If you accidently allocate, you get linker
errors.
Still, @nogc helps because it will tell right away where I called
something I should not.
I wonder if having an option to compile DRuntime without support
for thearding would simplify portability. I once read the
implementation and got the impression that theards are by far the
most platform-dependant part of it.