Re:My Kid Will Never Hack Linux
by moosingin3space on Wednesday May 17, 2017 @12:50PM
(#14360267)
Counterexample: Rust compiler is written in Rust.
[ Parent
| on HN ]
Doesn't Rust compilation rely on LLVM for all the actual compilation from IR to machine code?
For 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
Re:My Kid Will Never Hack Linux
by moosingin3space on Wednesday May 17, 2017 @02:33PM
(#14361389)
Yes, but there is a research project here that replaces LLVM for codegen: https://github.com/stoklund/cretonne