Large binary size using std.regex
Artem Tarasov via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sat Aug 23 23:10:20 PDT 2014
On Sunday, 24 August 2014 at 03:14:33 UTC, ketmar via
Digitalmars-d-learn wrote:
> yes. this binary includes statically linked runtime and phobos,
> plus
> alot of template expansions. alas, template magic is not free.
OTOH, on Linux latest LDC does far better job in eliminating dead
code than DMD:
$ ldc2 -O -release test.d && ls -l test | cut -f 5- -d ' '
712522 Aug 24 10:07 test
$ dmd -O -release -noboundscheck test.d && ls -l test | cut -f 5-
-d ' '
1892622 Aug 24 10:07 test
Which means there's plenty of unfulfilled potential.
More information about the Digitalmars-d-learn
mailing list