#563: Getting Started with Rust as Python Devs

#563: Getting Started with Rust as Python Devs

0 Ratings
0
Episode
562 of 500
Duration
1H 10min
Language
English
Format
Category
Non-fiction

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

X.com: @talkpython

Michael on Bluesky: @mkennedy.codes

Michael on Mastodon: @mkennedy@fosstodon.org

Michael on X.com: @mkennedy


Listen and read

Step into an infinite world of stories

  • Read and listen as much as you want
  • Over 1 million titles
  • Exclusive titles + Storytel Originals
  • 7 days free trial, then €9.99/month
  • Easy to cancel anytime
Try for free
Cover for #563: Getting Started with Rust as Python Devs

Other podcasts you might like ...