>>105790984> of just compiling the Rust code directlyI’ll use this as a further argument to forget about the unnecessary transpile to rust altogether, and just (continue) compiling in C.
A lot of rust code is littered with unsafe anyway.
All the rust “benefits” are theoretical, anyway.
When you look at sudo-rs, for example, it’s not clear anything was fixed.
The rather immense amount of work to remove all the unsafes is mostly “fixing” things that are not actual problems, and things that should have been found (and were found in ancient C code bases) by testing.
If you wanted to do something useful, innovative, novel and new, it would make a lot more sense to write in rust. Not ancient C code.
But nobody wants to do that, because it’s hard.
Just like cops don’t want to bother arresting real criminals, the national guard would rather go up against a bunch of local unarmed karens, and the NSA finds it easier to surveil domestically.