← Writing
Refactoring to Rust cover
Manning Publications · Author · 2025

Refactoring to Rust

A hands-on guide to bringing Rust into a codebase you already have, one component at a time. Instead of a risky full rewrite, you learn to find the parts of a system where Rust’s performance and safety guarantees pay off most, and to integrate them cleanly with the code around them.

The result is a practical migration path: measurable wins on the pieces that matter, without betting the roadmap on a rewrite.

What you'll learn

  • Where Rust earns its place in an existing system — and where it doesn't
  • Calling Rust from other languages across a stable FFI boundary
  • Porting hot paths for performance without changing behavior
  • Using ownership and the type system to design out whole classes of bugs
  • Testing and benchmarking a mixed-language codebase
  • Rolling Rust out incrementally while the team keeps shipping
Get the book →