Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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.