[Issue 14654] rdmd should compile package at a time

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Jun 6 09:46:38 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=14654

--- Comment #2 from Andrei Alexandrescu <andrei at erdani.com> ---
(In reply to Vladimir Panteleev from comment #1)
> If we want to improve build times with rdmd, the best thing we can do is get
> rid of rdmd (and only leave it as a thin wrapper around dmd). This is
> because rdmd needs to run dmd -o- to get the dependency graph, and then run
> dmd again to actually build the program. This means that lexing, parsing,
> semantics - everything except code gen and linking - must happen twice. For
> template or mixin-heavy code, this nearly doubles compilation time.

This improvement stands.

--


More information about the Digitalmars-d-bugs mailing list