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.

Reply via email to