4 ms·
Counterexample: Rust compiler is written in Rust.
by moosingin3space 9y ago
Counterexample: Rust compiler is written in Rust.
- PeterisP 9y agoDoesn't Rust compilation rely on LLVM for all the actual compilation from IR to machine code?
- kibwen 9y 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 9y agoYes, but there is a research project here that replaces LLVM for codegen: https://github.com/stoklund/cretonne https://github.com/stoklund/cretonne