Compilation strategy
Blub
un at known.com
Sun Dec 16 04:13:48 PST 2012
> On Sat, 2012-12-15 at 16:55 +0000, Russel Winder wrote:
>> A quick straw poll. Do people prefer to have all sources
>> compiled in a
>> single compiler call, or (more like C++) separate compilation
>> of each object followed by a link call.
Separate compilation imposes continuous re-processing of files.
D is a modern language with a proper module system so it's easy
to figure out dependencies. imo everything should be passed to
the compiler which then should create a dependency graph and
begin compilation with the sinks, using as much internal
parallelism as possible, as opposed to the crappy makefile-level
concurrency C++ uses.
More information about the Digitalmars-d
mailing list