gdc or ldc for faster programs?

forkit forkit at gmail.com
Tue Jan 25 23:01:57 UTC 2022


On Tuesday, 25 January 2022 at 20:01:18 UTC, Johan wrote:
>
> Tough to say. Of course DMD is not a serious contender, but I 
> believe the difference between GDC and LDC is very small and 
> really in the details, i.e. you'll have to look at assembly to 
> find out the delta.
> Have you tried `--enable-cross-module-inlining` with LDC?
>
> -Johan

dmd is the best though, in terms of compilation speed without 
optimisation.

As I write/test A LOT of code, that time saved is very much 
appreciated ;-)

I hope it remains that way.


More information about the Digitalmars-d-learn mailing list