3 ms·
Compile C to Rust! Easiest language migration ever.
by Spivak 6y ago
Compile C to Rust! Easiest language migration ever.
- fanf2 6y agohttps://c2rust.com/ https://c2rust.com/
- zelly 6y agoIt shares the code generator with gcc. It doesn't transpile C to Rust or vice versa. The goal is to produce machine code directly.
- fractalb 6y agoThat would eliminate the need for Rust. Just imagine, if your C code can be converted into Rust, would there ever be a case to start a fresh project in Rust? It will permanently become an Intermediate language.