Explore the process of integrating Rust into Python packages, specifically focusing on the pyca/cryptography package. Learn about the challenges, successes, and implications of using Rust as an alternative to C for Python extensions. Discover the motivations behind choosing Rust, the adoption process, and the cleanup efforts involved. Gain insights into decision-making regarding support, outreach strategies, and initial release experiences. Examine the lessons learned, practical applications, performance results, and architectural improvements achieved through this integration. Understand how this approach can benefit your own Python projects and potentially revolutionize the ecosystem of Python packages.
Overview
Syllabus
Intro
Why Rust?
How we adopted Rust
Cleanup on aisle: everything
How do we decide what to support?
Outreach and Initial Release
Lessons Learned
Doing something useful
Performance Results
Architectural improvement
Taught by
PyCon US