ldc produces very small binaries

simendsjo via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Mon Aug 25 02:00:12 PDT 2014


I just compiled a very small script using dmd, gdc and ldc.

I used `dub build --compiler=DC --build=release --force`

dmd: 2.6 sec, 2.8 mb
gdc: 4.1 sec, 3.3 mb
ldc: 3.2 sec, 456 kb

The ldc binary with strip and then upx results in an 88 kb binary!

Thanks for the great work!


More information about the digitalmars-d-ldc mailing list