This post discusses the process of successfully rewriting a C++ codebase using Rust. It covers steps such as convincing the team and stakeholders, maintaining buy-in, dealing with FFI issues, cross-compiling, and using tooling and testing in Rust. The author highlights the advantages of an incremental rewrite and emphasizes the importance of regular demos and clear communication throughout the process.
Table of contents
The projectImprove the existing codebaseGet buy-inKeeping buy-inPreparations to introduce the new languageIncremental rewriteFuzzingPure Rust vs interop (FFI)Cross-compilationConclusion14 Impressions