Is there any language that native-compiles faster than D?

oddp oddp at posteo.de
Sun Aug 23 07:36:19 UTC 2020


On 2020-08-23 02:20, Per Nordlöw via Digitalmars-d wrote:
> On Sunday, 23 August 2020 at 00:18:44 UTC, Per Nordlöw wrote:
>> Builds are 10x slower than D.
> 
> And the slowdown of Ada compared to D gets larger with function size.

It might get even slower if you apply:

-        f.write(Tm('''   GNAT.OS_Lib.OS_Exit(Integer(${T}));
+        f.write(Tm('''   GNAT.OS_Lib.OS_Exit(Integer(${T}_sum));

Currently, we're seeing:

main.adb:9049:32: invalid use of subtype mark in expression or call
gnatmake: "generated/ada/main.adb" compilation error


More information about the Digitalmars-d mailing list