| ▲ | afdbcreid 2 hours ago | |||||||
Rust requires LLVM (or GCC) which requires C++, not just C. | ||||||||
| ▲ | VorpalWay an hour ago | parent | next [-] | |||||||
LLVM is the default yes, there is also an experimental cranelift backend, which is all Rust. Not sure if it is good enough to build the compiler itself using it. (There is also a GCC backend called codegen_gcc that is pretty far along. And a separate reimplementation of both the frontend and backend using gcc and C++, called gccrs, which is not nearly as far along.) | ||||||||
| ||||||||
| ▲ | someonebaggy 2 hours ago | parent | prev [-] | |||||||
Maybe it should be rewritten in Rust then | ||||||||