Is there any language that native-compiles faster than D?
Jacob Carlborg
doob at me.com
Tue Sep 29 08:03:07 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
>
> https://github.com/nordlow/compiler-benchmark
>
> I wonder; is there any language that compiles to native code
> anywhere nearly as fast or faster than D, except C?
You should have a look at the self-hosted Zig compiler as well.
I'm not sure if it's mature enough to benchmark (it currently
only supports a small set of Zig). You would probably need to
compile it from source as well.
Have a look at this post [1] I made, that mentions how the Zig
compiler uses incremental compilation. Even a full build
(non-incremental) seems really fast. Although, I don't know how
well it scales.
[1]
https://forum.dlang.org/post/ctelroirrkqpkrlupajp@forum.dlang.org
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list