-
Notifications
You must be signed in to change notification settings - Fork 16
Description
Title of the talk
Build your first Rust extension for Python
Description
This session introduces Python developers to the power of Rust for creating high-performance Python extensions. Learn how to leverage Rust's speed and memory safety to supercharge your Python applications without sacrificing Python's ease of use and flexibility.
Perfect for both beginners curious about Rust and experienced developers looking to optimize performance bottlenecks, this presentation walks through the complete process of creating, packaging, and using Rust extensions in Python projects. We'll cover setting up your development environment, writing your first Rust function accessible from Python, and implementing a practical example that demonstrates significant performance improvements over pure Python implementations.
Through live coding demonstrations, you'll see how the PyO3 framework makes language interoperability surprisingly straightforward, allowing you to write critical code paths in Rust while maintaining your existing Python codebase. By the end of this session, you'll have the knowledge to identify which parts of your Python applications could benefit from Rust's performance and the skills to implement these optimizations in your own projects.
Join us to discover how combining these two languages gives you the best of both worlds: Python's rapid development and vast ecosystem alongside Rust's blazing speed and ironclad safety guarantees.
Table of contents
- Setting Up the Environment
- Hello World: Your First Rust Function
- Extending Rust code to Python using maturin and PyO3
- Comparison of performance
- Publishing your first package to PyPI
Duration (including Q&A)
30 mins
Prerequisites
No response
Speaker bio
I work as an Associate Architect at InfoBeans, where I focus on building backend systems with Python and AWS. For my personal side quest, I've been learning Rust and building developer tools for Python devs. I'm currently developing a logging library for Python through Rust called lo3. I want to share what I've learned about leveraging Rust to accelerate Python runtime performance.
LinkedIn - https://www.linkedin.com/in/santhosh-solomon/
Github - https://github.com/DataEnggNerd
The talk/workshop speaker agrees to
-
Share the slides, code snippets and other material used during the talk
-
If the talk is recorded, you grant the permission to release
the video on PythonPune's YouTube
channel
under CC-BY-4.0
license -
Not do any hiring pitches during the talk and follow the Code
of
Conduct