Corrode Making Progress On Translating C To Rust
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.
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.
30 Comments