This is a companion page for a talk called Python and Rust, a perfect pairing. The talk will be presented at PyCon UK 2025 and PyCon Finland 2025.
Link to slides will be added here.
Resources
Projects mentioned:
- PyO3: Rust bindings for Python)
- Maturin: build tool for Python packages implemented in Rust). The tutorial is a good starting point.
- rustimport: import Rust from Python without setup.
The website of Rust has a nice section about how to learn Rust.
Examples of using Python and Rust
- The core of Pydantic V2 is written in Rust.
- The core of Polars is written in Rust.
- Significant parts of
cryptography
are written in Rust. - orjson is mostly Rust and it goes fast.
Other links
- My post on setting up uv and Maturin to work together.
About the speaker
My name is Miikka Koskinen and I’m an experienced software engineer and an independent consultant based in Helsinki, Finland. I’ve got a blog and you can also follow me on Mastodon and LinkedIn.