AI Engineer - Learn how to integrate AI into software applications
Live Online Classes in Design, Coding & AI — Small Classes, Free Retakes
Overview
Build a Learning Habit
Download Class Central's free printable study calendar
Download for Free
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