Is there any language that native-compiles faster than D?
doob at me.com
Wed Aug 26 11:49:06 UTC 2020
On Thursday, 20 August 2020 at 20:50:25 UTC, Per Nordlöw wrote:
> After having evaluated the compilation speed of D compared to
> other languages at
> I wonder; is there any language that compiles to native code
> anywhere nearly as fast or faster than D, except C?
You could add Crystal  as well for completeness. It uses LLVM
as its backend, so it might not be fast.
BTW, I see that you download DMD from dlang.org. The binaries at
dlang.org are compiled with DMD itself. You should compile DMD
yourself using LDC, with the appropriate flags. It will give you
a boost, perhaps 30%.
More information about the Digitalmars-d