Corrode Making Progress On Translating C To Rust

Written by Michael Larabel in Programming on 2 November 2016 at 01:35 PM EDT. 30 Comments
PROGRAMMING
Jamey Sharp, the developer known for some of his past contributions to X.Org, has been hacking a lot lately on his latest project: Corrode. This project is about automatically converting C source files into Rust.

Corrode is able to convert C code into Rust, but so far is able to perform just basic operations automatically and doesn't yet take full advantage of Rust's potential. Corrode is designed to help with partial automation of legacy code into Rust and as a new/complementary approach for static analysis of C programs. Corrode is going along so well that Mozilla has begun sponsoring Jamey's work with Mozilla continuing to spearhead Rust's development.

Corrode isn't written in Rust or C but rather Haskell for its C parser. The project is GPLv2 licensed. If you wish to learn more about Corrode see the GitHub project page and Jamey's blog for more developmental updates. It will be interesting to see where Corrode ends up and if it will be able to take C into more advanced Rust code as its development progresses.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week