Getting Started with Rust as Python Devs - Talk Python to Me Ep. 563
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. ▬▬▬▬ About the podcast ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ This video is the uncut, live recording of the Talk Python To Me podcast ( https://talkpython.fm ). We cover Python-focused topics every week and publish the edited and polished version in audio form. Subscribe in your podcast player of choice (100% free) at https://talkpython.fm/subscribe. ▬▬▬▬ Guests ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Christopher Trudeau ▬▬▬▬ Links and resources from the show ▬▬▬▬▬▬▬▬▬▬▬▬ Up and Running with Rust course: https://training.talkpython.fm/courses/up-and-running-with-rust Rust: https://rust-lang.org pydantic: https://pydantic.dev ruff: https://docs.astral.sh/ruff/ granian: https://github.com/emmett-framework/granian By example: https://doc.rust-lang.org/stable/rust-by-example/ rust-lang.org: https://rust-lang.org/tools/install/ rustup.rs: https://rustup.rs crates.io: https://crates.io main.rs: https://main.rs PyO3: https://github.com/pyo3/pyo3 https://github.com/ritwiktiwari/awesome-python-rs: https://github.com/ritwiktiwari/awesome-python-rs ty: https://docs.astral.sh/ty/ pyrefly: https://pyrefly.org uv: https://github.com/astral-sh/uv polars: https://pola.rs ▬▬▬▬ Dive deeper ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Listen to the Talk Python To Me podcast at https://talkpython.fm and explore over 275 hours of Python courses at https://training.talkpython.fm/courses. ▬▬▬▬ Follow us on Social ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Mastodon: Michael - https://fosstodon.org/@mkennedy & Talk Python - https://fosstodon.org/@talkpython Bluesky: Michael - https://bsky.app/profile/mkennedy.codes & Talk Python - https://bsky.app/profile/talkpython.fm X: Michael - https://x.com/mkennedy & Talk Python - https://x.com/talkpython