~/talk

"Python ‹3 Rust"

Talkat PyOhio 2024 · 2024-07-27..07-28· [rust, python]
linkedin:moshezadka
slides:none on file

Rust code implements a tiny validator that checks whether a character appears at least N times with optional reset on newline or space, compiled and exposed to Python via PyO3 and installed with maturin develop/build. The Rust version runs about 10× faster than a naïve Python char loop even in debug builds, handles untrusted input safely, and provides a Pythonic constructor and has_count method. Prototyping cost is higher (compile+install) but the integrated wheel works and simplifies shipping.

AI-written summary · about

  1. 0:00Welcome
  2. 1:08What is Rust
  3. 6:30Rust’s low-level parsing
  4. 13:30High-performance Rust
  5. 18:30Rust with PyO3
  6. 21:42Rust vs Python performance
  7. 24:31Python prototyping to Rust
  8. 27:00Summary
~/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.