Skip to content

#563: Getting Started with Rust as Python Devs

September 16, 2026 · 1 h 11 min

Show notes

Lint the entire CPython code base from scratch. It takes 0.3 seconds. Three blinks of an eye.

That is ruff, and it is written in Rust. So are Pydantic, Polars, uv, and Granian. Rust shows up in Python three ways: tools that happen to be Rust, libraries Python imports, and servers that run Python inside Rust. This is Rust for Python developers, not Rust experts.

Christopher Trudeau is back on Talk Python to discuss Rust and his latest course Up and Running with Rust. The core rule is that only one thing can own a value at a time. Pass it around freely in Python and the garbage collector cleans up. Do that in Rust and it will not compile.

Episode sponsors

Sentry Error Monitoring, Code talkpython26
Python in Production
Talk Python Courses

Links from the show Up and Running with Rust course: training.talkpython.fm

Rust: rust-lang.org
pydantic: pydantic.dev
ruff: docs.astral.sh
granian: github.com
By example: doc.rust-lang.org
rust-lang.org: rust-lang.org
rustup.rs: rustup.rs
crates.io: crates.io
main.rs: main.rs
PyO3: github.com
https://github.com/ritwiktiwari/awesome-python-rs: github.com
ty: docs.astral.sh
pyrefly: pyrefly.org
uv: github.com
polars: pola.rs

Watch this episode on YouTube: youtube.com
Episode #563 deep-dive: talkpython.fm/563
Episode transcripts: talkpython.fm

Theme Song: Developer Rap
🥁 Served in a Flask 🎸: talkpython.fm/flasksong

---== Don't be a stranger ==---
YouTube: youtube.com/@talkpython

Bluesky: @talkpython.fm
Mastodon: @[email protected]
X.com: @talkpython

Michael on Bluesky: @mkennedy.codes
Michael on Mastodon: @[email protected]
Michael on X.com: @mkennedy

All episodes of Talk Python To Me

Settings

Display

Language

Decides which stations you see first on the home page.

History

Recently played stations and episodes and your latest searches are only stored in this browser.

Notifications

A short notice when a podcast you follow has a new episode. Turn off single podcasts with the bell on their page.

Account

Save favorites – in the app and on the website.

Keyboard shortcuts

/
Open search
Space
Play or pause
← →
In the player: back 15 s, forward 30 s (episodes) · in a row: next tile
↑ ↓
In a row: target within the tile
Home / End
In a row: first or last tile
Esc
Close window or menu
?
This overview
Now playing

Go to station page

Play next

    Add episodes with “Play next” – they play after the current episode.