30 ms·
It's a shame, really, but if you could write a decent C to safe Rust transpiler, than Rust probably would not exist. Lifetime inference etc is a hard problem,
by the_duke 10y ago
It's a shame, really, but if you could write a decent C to safe Rust transpiler, than Rust probably would not exist.
Lifetime inference etc is a hard problem, and if it could be done right now, compilers would just have static checks for all that.
There is a C to UNSAFE Rust transpiler, though: https://github.com/jameysharp/corrode https://github.com/jameysharp/corrode.