[Issue 14654] rdmd should compile package at a time

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


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

Vladimir Panteleev <thecybershadow at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thecybershadow at gmail.com

--- Comment #1 from Vladimir Panteleev <thecybershadow at gmail.com> ---
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.

--


More information about the Digitalmars-d-bugs mailing list