skinny.

Latest / Talk Python To Me

#563: Getting Started with Rust as Python Devs

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…

Read the full description

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: @talkpython@fosstodon.org

X.com: @talkpython

Michael on Bluesky: @mkennedy.codes

Michael on Mastodon: @mkennedy@fosstodon.org

Michael on X.com: @mkennedy

Log in to save or queue this episode.

Short listen plan

No short plan yet. We need saved quotes in chapters with known start and end times, backed by a timed transcript.

The skinny

The skinny isn't ready yet — the transcript is, and you can read it now.

Lent the entire CPython code base from scratch. It takes 0.3 seconds, three blinks of an eye. That is rough, and it's written in Rust. So are Pydantic, Polars, uv, and Granian. Rust shows up in Python in three ways. Tools that happen to be written in Rust, libraries Python itself imports and runs, and servers that themselves run Python inside of Rust. This episode is Rust for Python developers. And Christopher Trudeau is back on Talk Python to discuss… continue reading