Python
React
17/10/2025
Alfa
en
Python and Rust, a Perfect Pairing
Developer
Intermediate
In this talk, we take a look at why and how to do it with tools like rustimport and Maturin.

Details

Rust programming language has recently gained a lot of popularity. However, you don't have to choose between Python and Rust - you can use both together. In this talk, we take a look at why and how to do it with tools like rustimport and Maturin.

Using Rust is emerging as a new way to make Python projects fast. This can be seen in libraries like Pydantic, whose core is written in Rust, and a new generation of Python developer tools such as uv and ruff.

We'll start by talking about Rust, how it compares to Python as a programming language, and why all these projects are turning to it. Then we'll go through how to use rustimport to use Rust in your own projects. Rustimport is perfect for simple use cases, but we'll also talk about using Maturin when you want to publish Python packages that incorporate Rust.