Impediments to transpiling Rust to C?
internals.rust-lang.org
internals.rust-lang.org
* mrustc doesn't implement a borrow checker.
* mrustc's original goal was to bootstrap rustc, and so it's based on Rust 1.19 as of now.
So, it's not a panacea, but it is proof that it can be done.
I didn't know that it existed in the first place and what i expected was a bit of a higher level approach. Not even sure if going through Rust -> LLVM IR -> C -> asm would have a negative effect on performance, i.e. if the C code reconstructed from LLVM IR is optimal.