Speed up your Python with Rust! Join our hands-on online workshop to learn all about Rust-Python Interoperability with @algo_luca and @hdoordt . Dive deep into PyO3, Rust-powered Python extensions, concurrency, and more!

🦀 Details & registration ➡️ https://ti.to/mainmatter/rust-python-feb-2025

#rustlang #python #rustpython #PyO3 #mainmatter

Remote Workshop: Rust-Python Interoperability

Python has served you well: you spun up a prototype and iterated quickly, keeping up with the evolving requirements of a successful product. Nonetheless, as time goes on, cracks are starting to show up: an endpoint is slower than it needs to be, a data processing job that took seconds now takes almost an hour, and your infrastructure bill is growing too fast compared to the size of your user base. Engineers are starting to whisper: is it time for a rewrite? Should we pause feature development to rebuild everything on more solid foundations? That's an option, but it's expensive. There's another path: rather than throwing away your entire Python codebase to start over, you analyse your application and isolate the performance-critical bits—the so-called "hot modules" where your application spends most of its time. You will rewrite those in Rust and package them as a Python native extension. This workshop will teach you how. We will cover the PyO3 crate, the subtleties of Python's Global interpreter lock, and typical examples that may arise in your daily Rust-Python interoperability work. By the end of the session, you will be well-equipped to seamlessly replace your slow Python modules with easy-to-use and blazingly fast Rust modules.

Tito