GCC is getting parallelization and so should DMD
per.nordlow at gmail.com
Fri Aug 21 13:16:45 UTC 2020
It's time we start thinking about preparing for parallelization
in DMD now that GCC is getting it . Andrei mentioned this in
an interview as early 2014 .
A good start is to start moving the `__gshared` declarations into
aggregates that are explicitly instantiated in mars.d and then
passed as context references into functions constructors. That
will be a lot of manual work. However this process can be
directed by D's purity checks by adding `pure:` at module
top-levels. I've already started experimenting with this at 
I reckon the greatest obstacle is to sync these changes with all
the C/C++ mappings in dmd.
More information about the Digitalmars-d