On Tuesday, 30 June 2015 at 14:28:12 UTC, anonymous wrote:
On Tuesday, 30 June 2015 at 14:18:20 UTC, rsw0x wrote:
you're skipping the part where they can be ran in parallel, dmd sees no benefit from this.

Could you elaborate? Surely, one can run multiple instances of dmd in parallel, no?

In my (possibly flawed) understanding, to get the quickest compile one would then:
* Determine the optimal number of parallel processes.
* Split the source files into that many chunks.
* Run parallel instances of the compiler, one on each of those chunks.

dmd scales extremely poorly across threads, to the poor where I got negative performance in parallel.
LDC runs faster than dmd in parallel on my xeon machine.

Reply via email to