3 ms·
Doesn't Rust compilation rely on LLVM for all the actual compilation from IR to machine code?
by PeterisP 10y ago
Doesn't Rust compilation rely on LLVM for all the actual compilation from IR to machine code?
- kibwen 10y agoFor now it does, but there's an upcoming experimental alternative backend written in Rust. Furthermore, there's no reason that LLVM has to be written in C++, it was just the best choice available when LLVM got started 15 years ago. Suffice to say, there are higher priorities for the Rust project than porting LLVM. :P
- moosingin3space 10y agoYes, but there is a research project here that replaces LLVM for codegen: https://github.com/stoklund/cretonne https://github.com/stoklund/cretonne