Start speaking a new language. It’s just 3 weeks away.
Learn AI, Data Science & Business — Earn Certificates That Get You Hired
Overview
Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
Explore the intricate relationship between Python and Rust in this 44-minute PyCon US talk. Delve into the mechanics of how Python function calls execute Rust code via PyO3, a powerful Rust library for language binding. Gain insights into the benefits of integrating Rust into your Python stack and follow a step-by-step breakdown of the Python interpreter and PyO3's internal processes. Learn about the stages of "native" function calls, applicable to various languages including Python standard library "builtins", Cython, and C++/pybind11. While technical in nature, the talk assumes no prior Rust knowledge, making it accessible to those familiar with Python functions and types. Witness illustrative examples of Rust and C code, thoroughly explained and dissected. Access accompanying slides for a comprehensive understanding of this cutting-edge integration in the Python ecosystem.
Syllabus
Talks - David Hewitt: How Python Harnesses Rust through PyO3
Taught by
PyCon US