Zig's Andrew Kelley: "The compiler is too dam slow, that's why we have bugs..."

Paolo Invernizzi paolo.invernizzi at gmail.com
Wed Jan 31 08:54:36 UTC 2024


On Wednesday, 31 January 2024 at 02:34:34 UTC, Steven 
Schveighoffer wrote:
> On Tuesday, 30 January 2024 at 20:29:02 UTC, cc wrote:
>> [...]
>
> I see a lot of posts about the speed of dmd. I've been 
> basically using ldc exclusively when I switched to mac M1, and, 
> I haven't been very disappointed.
>
> I'll say this, compiling my work project with dmd is 100x 
> slower than compiling my personal projects with ldc.
>
> I don't know if it's LLVM, is all I'm saying.
>
> -Steve

As dmd is x86_64, on Apple silicon it uses rosetta, so ldc which 
is aarch64 is faster as a compiler.




More information about the Digitalmars-d mailing list