DARPA AI Transcribes SI Code to Rust

The US Department of Defense’s research projects management, DARPA, recently unveiled the Traactor project (Translating All C to Rust). This project aims to develop a translator that automatically transforms projects from the C language into the Rust language. What sets this translator apart is its utilization of machine learning methods to produce Rust code that closely resembles the style and quality of code written by experienced programmers.

The translator only utilizes safe methods when working with memory, avoiding the use of blocks and functions marked with the keyword “Unsafe”. By doing so, it’s expected to address the safety concerns associated with old C code, eliminating potential vulnerabilities stemming from unsafe memory operations and undefined behavior.

/Reports, release notes, official announcements.