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

MrSmith mrsmith33 at yandex.ru
Wed Aug 26 17:27:48 UTC 2020


On Wednesday, 26 August 2020 at 16:34:39 UTC, Per Nordlöw wrote:
> On Wednesday, 26 August 2020 at 16:08:15 UTC, MrSmith wrote:
>> https://github.com/MrSmith33/tiny_jit
>
> What kinds of memory management are supported/planned and how 
> does this interact with slices?
>
> I can't find any code examples in Vox. Are they represented as 
> strings inside the .d-files?

I run benchmark myself and here is what Vox code should look like 
based on D code:
i64 add_long_n0_h0[T](i64 x) { return x + 87734; }
i64 add_long_n0[T](i64 x) { return x + add_long_n0_h0[i64](x) + 
40209; }
i64 main() {
     i64 long_sum = 0;
     long_sum += add_long_n0[i64](0);
     return long_sum;
}


More information about the Digitalmars-d mailing list