podqast
The Peterman PodRyan PetermanAll episodes

Microsoft Distinguished Eng: Why And How To Port Your Entire Codebase to Rust | Stephen Toub

1h 22m

Stephen Toub is a Distinguished Engineer at Microsoft who single-handledly rewrote the GitHub Copilot runtime (400,000-line codebase) in Rust. We talked about why/how he did it, how Rust compared with other languages, and everything he learned in the process.

Podcast links:

Thank you to this episode's sponsor for supporting my work:

Timestamps:

(00:00) Intro
(01:06) Why the Copilot runtime needed a Rust port
(05:38) Why he chose Rust
(11:28) Discussing rollout strategies
(21:57) How he caught regressions
(32:08) Guiding the agents
(42:11) Catching regressions before prod
(45:16) Which models he used
(50:03) The end benefit and costs
(01:03:24) When to do a full rewrite
(01:06:40) Career learnings on the way to Distinguished
(01:16:00) Top technical book recommendation
(01:17:49) Advice for young engineers
(01:21:00) Outro

Where to find Stephen:

Where to find Ryan:

Referenced in this episode:

Episode page ↗
More from The Peterman Pod