Analyze a D file for imports

anonymous via Digitalmars-d digitalmars-d at puremagic.com
Tue Jun 30 07:28:11 PDT 2015


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.


More information about the Digitalmars-d mailing list