Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the power of Rust for building Python extension modules in this 30-minute EuroPython Conference talk. Learn how to leverage Rust's memory-safe features as an alternative to C and C++ for creating fast, compiled extensions. Discover the advantages of using pyo3 and milksnake libraries, comparing their approaches, strengths, and weaknesses. Gain insights into performance, safety, and maintainability aspects of Rust extensions versus C and Cython modules. Delve into topics such as ownership, C FFI, and Scythe, while considering factors for choosing the right implementation method. Acquire knowledge on potential improvements and ways to contribute to the Rust-Python ecosystem.
Syllabus
Intro
Demo
C Implementation
C Limitations
Ownership
Rust Implementation
Speed
Safe
Using C FFI
Scythe On
What should we choose
Improvements
Contributing
Questions
Taught by
EuroPython Conference