Cpp2Rust: Automatic Translation of C++ to Safe Rust

31 points by gnyeki


sneela

I attended a talk by Dan Wallach back in February this year. He mentioned a DARPA project called TRACTOR (Translating All C to Rust) [1] [2] [3].

Test and evaluation of the research program is being performed by a team at MIT Lincoln Laboratory.

They're still researching it as far as I know, but there's a lot of interest in this topic. I am quite interested to see how such tools and ideas turn out - it would really eliminate a lot of "trivial" bugs that come with memory management.

[1] https://www.darpa.mil/research/programs/translating-all-c-to-rust

[2] https://github.com/DARPA-TRACTOR-Program

[3] https://www.ll.mit.edu/r-d/projects/translating-all-c-rust-tractor-benchmarks

hoistbypetard

I'm intrigued. It'd be really cool to see a demo of a library or an app or two that the authors translated with this, and consider interesting.