Anmelden

The Peterman Pod· Folge 73

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

Montag, 2. November 2026 · 1 h 22

MP3

Shownotes

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.

• My ergonomic keyboard project I mentioned, you can follow along here: read.compose.llc
• The Kickstarter page for it: kickstarter.com/projects/ryanlpeterman/compose…

Podcast links:

• YouTube: youtube.com/watch?v=PLMOVlZC4eU
• Apple: podcasts.apple.com/us/podcast/the-peterman-pod…
• Transcript: developing.dev/p/e073-stephen-toub

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

• WorkOS: makes your app Enterprise Ready with easy to use APIs to add SSO, SCIM, RBAC, and more in just a few lines of code, check them out at workos.com

Timestamps:

() Intro
() Why the Copilot runtime needed a Rust port
() Why he chose Rust
() Discussing rollout strategies
() How he caught regressions
() Guiding the agents
() Catching regressions before prod
() Which models he used
() The end benefit and costs
() When to do a full rewrite
() Career learnings on the way to Distinguished
() Top technical book recommendation
() Advice for young engineers
() Outro

Where to find Stephen:

• GitHub: github.com/stephentoub
• X: twitter.com/stephentoub
• LinkedIn: linkedin.com/in/stephen-toub-75979745

Where to find Ryan:

• Newsletter: developing.dev
• X/Twitter: x.com/ryanlpeterman
• LinkedIn: linkedin.com/in/ryanlpeterman
• Threads: threads.com/@ryanlpeterman
• Instagram: instagram.com/ryanlpeterman
• TikTok: tiktok.com/@ryanlpeterman

Referenced in this episode:

• Stephen Toub’s post on porting the GitHub Copilot runtime to Rust: github.blog/ai-and-ml/generative-ai/migrating-…
• Jarred Sumner’s post on porting Bun to Rust: bun.com/blog/bun-in-rust
• Code: The Hidden Language of Computer Hardware and Software: charlespetzold.com/code/index.html

Anmelden oder registrieren

Jetzt

0:00 / 0:00