Compilation strategy

Walter Bright newshound2 at digitalmars.com
Sat Dec 15 17:17:04 PST 2012


On 12/15/2012 9:31 AM, RenatoUtsch wrote:
> Yes, I'm writing a build system for D (that will be pretty damn good, I think,
> it has some interesting new concepts), and compiling each source separately to
> an object, and then linking everything will allow easily to make the build
> parallel, dividing the sources to compile in various threads. Or the compiler
> already does that if I pass all source files in one call?

The compiler does a little multithreading, but not enough to make a difference. 
I've certainly thought about various schemes to parallelize it, though.



More information about the Digitalmars-d mailing list