Jamey Sharp On Whether You Should Translate Your Code To Rust
Written by Michael Larabel in Programming on 3 January 2017 at 07:29 PM EST. 79 Comments
Often times whenever mentioning a new security vulnerability in any piece of open-source/Linux software, it generally gets brought up in our forums "they should write that software in Rust" or similar comments about how XYZ project should see a rewrite in Rust for its memory-safety features. But is it really worthwhile porting your codebase to Rust?

Jamey Sharp, the long-time open-source developer known for his X.Org contributions and recently developing Corrode as a way to translate C code into Rust code, has written a lengthy blog post about the subject of whether it's worth it to translate -- and hopefully with somewhat automated assistance of Corrode -- push your project into Rustlang.

Sharp feels that rewriting existing software in Rust is always a great educational exercise if wishing to learn Rust, if wanting upstream to use the Rust version of a program there really needs to be strong evidence that it's better and at least equivalent to the original code, and that it's justifiable if there is community support and translating to Rust would be more worthwhile than fixing the original bugs for issues like memory safety that Rust addresses.

If you're looking for more information on Jamey's thoughts about switching a code-base over to Rust, you can read his thoughts via this blog post. Those wanting to learn more about his automated C to Rust translator can stop by the GitHub project site.
Related News
About The Author
Author picture

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 or contacted via MichaelLarabel.com.

Popular News This Week