50
DARPA suggests turning legacy C code automatically into Rust • The Register
(www.theregister.com)
A community for high quality news and discussion around technological advancements and changes
Things that fit:
Things that don't fit
How are they going to tackle heavy use of the C preprocessor?
What about pointer arithmetic without decorating everything with "unsafe"? As the whole point is making the code safer.
I guess it will translate the majority of the code which does not contain unsafe parts, and leave the pointer manipulation for manual rewrite.
Then there's no point. Converting the code to Rust as-is will also transfer all the bugs.