~/talk

🐍 Python meets the crab 🦀 - Friendship at first sight?

Talkat PyCon US 2025 · 2025-05-16..05-18· [rust, python]
slides:none on file

Demonstrates using PyO3 with maturin to call Rust from Python, shows a prime-finder benchmark with a 12× speedup, and reports real projects (TOML formatter, tox formatter) compiled into binary wheels. Notes that ~95% of usage runs Rust inside Python, that panics map to BaseException, and that building multiplatform releases requires producing ~22 wheels if prebuilt binaries are desired. Advises watch for GIL handoffs, type marshalling choices, and cross-language overhead.

AI-written summary · about

  1. 0:00Introduction to Rust
  2. 10:24Why mix Python and Rust
  3. 15:48PyO3 and Maturin tools
  4. 19:25Implementation example
  5. 22:47Exposing Rust to Python
  6. 26:24Project configuration
  7. 28:42Python import system
  8. 33:14PyO3 communication layer
  9. 35:17Technical challenges
  10. 41:03Rust versus Cython
  11. 42:03Challenges and limitations
  12. 47:13Learning and resources
  13. 49:44Q&A session
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.