4 ms·
> Most of the Rust compiler is in C++, and they have no plan to change that. What? I just went and searched the Rust compiler, and the only C++ code to speak o
by TUSF 4y ago
> Most of the Rust compiler is in C++, and they have no plan to change that.
What? I just went and searched the Rust compiler, and the only C++ code to speak of was LLVM itself, and a thin wrapper around LLVM to provide a C API. Which is pretty much the same state that Zig is in right now. (Although in Zig's case, LLVM is optional)
Yeah, it's a lot of C++ that the Rust compiler relies on, but I don't think most people would really compare things like that.
- steveklabnik 4y ago… and the cranelift backend is in Rust, so “no plans to change that” is half correct at best.