August 25, 2014 ldc produces very small binaries | ||||
---|---|---|---|---|
| ||||
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! |
August 26, 2014 Re: ldc produces very small binaries | ||||
---|---|---|---|---|
| ||||
Posted in reply to simendsjo | On Monday, 25 August 2014 at 08:58:53 UTC, simendsjo wrote:
> 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!
All thanks goes to David who implemented this great feature!
Regards,
Kai
|
Copyright © 1999-2021 by the D Language Foundation