Talks - David Hewitt: How Python Harnesses Rust through PyO3

The last few years have seen Rust burst onto the scene as a language for implementing much-loved software for the Python ecosystem. The most well known examples of these are pydantic, polars, cryptography, and ruff. These Rust components are usually built on top of PyO3, a Rust library for binding the two languages together, and maturin, a PEP517 build backend for Rust software. There are a growing number of talks, blogs, and guides showing how to use these tools. In this talk I'll lead you through the details of how a Python function call ends up executing Rust code via PyO3. We'll first spend some time introducing some key ideas as well as the benefits of adding Rust to your Python stack. I'll then break down step-by-step what happens inside the Python interpreter and PyO3's internals as a seemingly simple enough Python expression leads to execution of your Rust function. You should walk away from this talk with an idea of how Rust/PyO3 software works under the hood. These same stages of a "native" function call are similar for multiple other languages too, including Python standard library "builtins", Cython code, and C++/pybind11 software, so this may bring you some useful insight even if Rust is not planned to be in your software stack soon. While this talk will get technical, no knowledge of Rust will be assumed. An understanding of Python functions and types will be useful, as I'll use these to introduce the analogous Rust concepts. Expect to see Rust code (and maybe a little C), but only for illustration - all code will be broken down and stepped through. Slides: https://pycon-assets.s3.amazonaws.com...

How to use PyO3 to write Python extensions in Rust
▶︎

How to use PyO3 to write Python extensions in Rust

SolidJS rewritten in Rust?
▶︎

SolidJS rewritten in Rust?

PyO3: From Python to Rust and Back Again (with David Hewitt)
▶︎

PyO3: From Python to Rust and Back Again (with David Hewitt)

How C Really Works
▶︎

How C Really Works

Crust of Rust: std::collections
▶︎

Crust of Rust: std::collections

PyO3 101 - Writing Python modules in Rust [PyCon DE & PyData Berlin 2024]
▶︎

PyO3 101 - Writing Python modules in Rust [PyCon DE & PyData Berlin 2024]

JavaScript Tutorial For Beginners | JavaScript Training | JavaScript Course | Intellipaat
▶︎

JavaScript Tutorial For Beginners | JavaScript Training | JavaScript Course | Intellipaat

Rust’s most complicated features explained
▶︎

Rust’s most complicated features explained

Jake VanderPlas - Performance Python: Seven Strategies for Optimizing Your Numerical Code
▶︎

Jake VanderPlas - Performance Python: Seven Strategies for Optimizing Your Numerical Code

Techniques learned from five years finding the way for Rust in Python - David Hewitt
▶︎

Techniques learned from five years finding the way for Rust in Python - David Hewitt

【閲覧注意⚠️】お相手様、あなたの想像の100倍ヤバい状態になります。
▶︎

【閲覧注意⚠️】お相手様、あなたの想像の100倍ヤバい状態になります。

Chosen One, This Is Why God Kept You Single All This Time
▶︎

Chosen One, This Is Why God Kept You Single All This Time

Lawrence Wilkerson: Iran-Krieg spitzt sich zur globalen Krise zu
▶︎

Lawrence Wilkerson: Iran-Krieg spitzt sich zur globalen Krise zu

Zig 2026: No-AI Policy, $670K Foundation, Left GitHub & Why Zig Isn’t 1.0 - Andrew Kelley Explains
▶︎

Zig 2026: No-AI Policy, $670K Foundation, Left GitHub & Why Zig Isn’t 1.0 - Andrew Kelley Explains

Is This Wish Meant to Be Fulfilled? 🧚🤲 Detailed Pick a Card Tarot Reading ✫・
▶︎

Is This Wish Meant to Be Fulfilled? 🧚🤲 Detailed Pick a Card Tarot Reading ✫・

Robin Raymond:  Rusty Python - A Case Study
▶︎

Robin Raymond: Rusty Python - A Case Study

CHOSEN ONE! SOMEONE IN A SUIT JUST ASKED "WHO TRAINED THEM?" ...NOBODY DID. THAT'S THE MYSTERY
▶︎

CHOSEN ONE! SOMEONE IN A SUIT JUST ASKED "WHO TRAINED THEM?" ...NOBODY DID. THAT'S THE MYSTERY

React Tutorial For Beginners [ReactJS] | ReactJS Course | ReactJS For Beginners | Intellipaat
▶︎

React Tutorial For Beginners [ReactJS] | ReactJS Course | ReactJS For Beginners | Intellipaat

Selling Dr*gs at my Job in CHICAGO in GTA 5 RP
▶︎

Selling Dr*gs at my Job in CHICAGO in GTA 5 RP

Creator of OCaml: Functional Programming, Formal Verification, Programming Languages | Xavier Leroy
▶︎

Creator of OCaml: Functional Programming, Formal Verification, Programming Languages | Xavier Leroy