Overview
Explore the potential of extending Python with Rust in this 33-minute conference talk from EuroPython 2020. Discover why Rust is an attractive option for Python developers seeking improved performance, and learn how to build safer and easier extensions compared to C. Examine existing crates that provide interfaces to Python, witness a live demonstration, and compare benchmarks against pure Python and Cython implementations. Gain insights into creating Dockerfiles for mixed Rust/Python projects and understand CI/CD processes for these hybrid applications. Follow along as the speaker covers topics including writing extensions, leveraging Rust libraries, packaging Python and Rust components, testing, and uploading the final product.
Syllabus
Intro
Outline
Why extend Python
Writing an extension
Why Rust
Libraries
Demo
Docker
Python Packages
Building the Rust Package
Importing the Rust Package
TestPipe
Uploading
Questions
Taught by
EuroPython Conference