[dmd-internals] Windows DMD development is now impossible
Walter Bright
walter at digitalmars.com
Sun Jun 9 17:28:25 PDT 2013
On 6/9/2013 1:32 PM, Don Clugston wrote:
>
> Yeah. 4 orders of magnitude. Our codebase at sociomantic is a bit larger than
> Phobos + druntime, but it compiles in just a few seconds.
> The problem is, that because of templates, the memory consumption isn't linear
> with source size.
>
> dmd -unittest -o- std/algorithm
>
> instantiates 344150 templates. Yes 344K. More than a third of a million.
Wow! (How many of those are unique, rather than reusing an existing instantiation?)
> More than the number of lines of source in the module.
> And yet there are only 1305 asserts in that module -- the tests are not
> particularly comprehensive.
>
-cov shows 96% coverage for std.algorithm
More information about the dmd-internals
mailing list