Building native Rust modules for Python
07-19, 10:45–11:15 (Europe/Prague), South Hall 2B

We'll cover the basics of Rust and demonstrate how to create a Rust module that can be imported and used within Python. Discover the advantages of using Rust in Python, especially regarding improved performance.

As Python developers, we love our favorite language's ease of use and flexibility. However, performance becomes increasingly important as projects grow in size and complexity. That's where Rust can come in.

In this session, we'll explore the basics of Rust and demonstrate how to build native Rust modules for Python. We'll cover the advantages of using Rust in Python, including improved performance and memory safety, and how to leverage existing Rust libraries within our Python projects.

Detailed plan:
- Why Rust?
- Introduction to Rust for Python developers
- Rust tooling for Python module development
- Building a simple Python extension module in Rust
- Writing tests to ensure proper integration with Python
- Performance comparisons between the Rust and Python implementation
- Real-world examples of successful Rust and Python integration

Whether you're a Python developer looking to improve the performance of your projects or just curious about Rust, this session will provide valuable insights and practical guidance on building native Rust modules for Python.

Expected audience expertise


Hi, I'm Arthur, a software engineer based in Paris 🇫🇷🥖

I worked as an engineer in a few tech companies over the past years, mostly building software with Python but I'm also passionate about (too ??) many other software fields.

I'm an Open source enthusiast and love to contribute when I have the possibility. 2 years ago, I built ODMantic, an ODM for MongoDB & Python. It's a kind of ORM but built on top of Pydantic in order to provide a seamless model definition and integration with FastAPI.

Last year, I founded CodSpeed, a Continuous Performance Analysis solution helping tech companies to prevent performance issues directly in their CI pipelines.