Compiling Rust to readable C with Eurydice
- A few years ago, the only way to compile Rust code was using the rustc compiler with LLVM as a backend.
- Since then, several projects, including Mutabah's Rust Compiler (mrustc), GCC's Rust support (gccrs), rust_codegen_gcc, and Cranelift have made enormous progress on diversifying Rust's compiler implementations.
- The most recent such project, Eurydice, has a more ambitious goal: converting Rust code to clean C code.
Unverified
- A few years ago, the only way to compile Rust code was using the rustc compiler with LLVM as a backend.
- Since then, several projects, including Mutabah's Rust Compiler (mrustc), GCC's Rust support (gccrs), rust_codegen_gcc, and Cranelift have made enormous progress on diversifying Rust's compiler implementations.
- The most recent such project, Eurydice, has a more ambitious goal: converting Rust code to clean C code.
Sources: Lwn