~/talk

Shipping Python Extensions in Rust Two Million Times a Day

Talkat PyCon US 2022 · 2022-04-27..05-03· [rust, python]
links:none on file
slides:none on file

pyca/cryptography moves core extension code to Rust using PyO3 and setuptools-rust, lands about seven upstream PRs and several thousand lines to add abi3 support, fixes musl/alpine and 32‑bit Windows build quirks, ships a two‑step rollout (3.4 optional rust then 3.5 required), rewrites ASN.1/x509 parsing to Rust and measures an 10x faster OCSP parse, convinces infra for manylinux/musl wheels, and reaches roughly 80% of downloads on rust-capable systems.

AI-written summary · about

  1. 0:00Intro
  2. 1:20Why Rust?
  3. 4:44How we adopted Rust
  4. 6:24Cleanup on aisle: everything
  5. 10:48How do we decide what to support?
  6. 15:43Outreach and Initial Release
  7. 19:03Lessons Learned
  8. 21:32Doing something useful
  9. 22:36Performance Results
  10. 23:24Architectural improvement
~/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.