News for hackers. Stuff that matters.
Re:Zig in 30 Minutes by pjmlp on Sunday January 03, 2021 @11:14AM (#25622590)
Hopefully during 2021, LLVM won't be any longer the only option to compile Rust, as the work for integrating cranelift backend into stable keeps going on.

Zig also has the same issue with LLVM until the language is fully bootstraped and the original LLVM based compiler no longer part of the build process.

However, packaging a C and C++ compiler alongside for the ride doesn't make it that much simpler.

Re:Zig in 30 Minutes by pron on Sunday January 03, 2021 @12:29PM (#25623220)
> LLVM won't be any longer the only option to compile Rust, as the work for integrating cranelift backend into stable keeps going on.

That might not matter. Porting Rust might not be a simple undertaking, either.

> Zig also has the same issue with LLVM until the language is fully bootstraped and the original LLVM based compiler no longer part of the build process.

Yes, but that's expected to happen before 1.0.

> However, packaging a C and C++ compiler alongside for the ride doesn't make it that much simpler.

C isn't an issue at all; C++ is. I'm pretty sure it could be made optional.