We're sorry but this page doesn't work properly without JavaScript enabled. Please enable it to continue.
Feedback

Corrode Tool-aided translation from C to Rust

Formal Metadata

Title
Corrode Tool-aided translation from C to Rust
Title of Series
Number of Parts
611
Author
License
CC Attribution 2.0 Belgium:
You are free to use, adapt and copy, distribute and transmit the work or content in adapted or unchanged form for any legal purpose as long as the work is attributed to the author in the manner specified by the author or licensor.
Identifiers
Publisher
Release Date
Language
Production Year2017

Content Metadata

Subject Area
Genre
Abstract
C has been the _de facto_ systems programming language for decades, so hugeamounts of useful programs and libraries are written in that language. NewRust code can make use of that legacy of work via FFI, but to get the fulladvantages of Rust, legacy software needs to be re-written in Rust. Corrode isa tool to semi-automate these rewrites by producing Rust source that behavesexactly like the original C, enabling developers to focus on the interestingparts of improving code quality. I'll talk about what Corrode does and doesnot do; present case studies of Corrode-assisted translations; and discussrationale for decisions such as writing Corrode in Haskell or documenting in"literate programming" style.