How do you rewrite C/C++ projects to Rust?

Livestream
Agenda

Migrating memory unsafe codebases (C, C++, Zig) to Rust is quite a hot topic these days! In this livestream, Vitaly Bragilevsky is joined by Luca Palmieri, Principal Engineering Consultant at Mainmatter and author of Zero To Production In Rust and 100 Exercises To Learn Rust, to dig into the practical realities of (incremental) C/C++ to Rust migrations. We'll touch on:

  • Why companies are migrating to Rust and what's driving the decision.
  • The incremental rewrite playbook – shipping new features while replacing the foundation.
  • FFI boundaries, ownership across language lines, and other gotchas that bite teams.
  • cheadergen, Luca's upcoming personal project for generating C headers from Rust code – a modern alternative to cbindgen aimed at providing a better DX and enhancing productivity.
  • How AI-assisted tooling is impacting migration strategy and feasibility, including what to automate, what to supervise, and what still needs a human touch.
  • Learning resources, tooling, and where to start if your team is considering migration.

Whether you're maintaining a decades-old C codebase, leading a gradual modernization effort, or just curious about what serious Rust adoption looks like in 2026, this conversation offers a grounded look at how these migrations actually play out.

Learn more about how Mainmatter supports teams with their Rust challenges at https://mainmatter.com/rust-consulting

Take the 100 Exercises To Learn Rust course in RustRover https://academy.jetbrains.com/course/27805.

Speaking to you

Luca Palmieri
Luca Palmieri is a Principal Engineering Consultant at Mainmatter and the author of Zero To Production In Rust. He helps teams design, build, and develop complex software systems, combining strategic decision-making with hands-on implementation. His work spans software architecture, technical leadership, organizational alignment, and execution, helping engineering teams turn ambitious ideas into reliable production systems.