News for hackers. Stuff that matters.
Re:My Kid Will Never Hack Linux by moosingin3space on Wednesday May 17, 2017 @12:50PM (#14360267)
Counterexample: Rust compiler is written in Rust.
Re:My Kid Will Never Hack Linux by PeterisP on Wednesday May 17, 2017 @01:30PM (#14360668)
Doesn't Rust compilation rely on LLVM for all the actual compilation from IR to machine code?
Re:My Kid Will Never Hack Linux by kibwen on Wednesday May 17, 2017 @01:42PM (#14360804)
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