~/talk

Using the Rust Programming Language in Python Projects

TalkinRussianat PyCon Belarus 2018 · on Saturday, 2018-02-24· [rust, python]
links:none on file
slides:none on file

Shows how to write Rust code as a Python extension using PyO3 and setuptools-rust, including how Rust ownership/borrowing prevents memory bugs and data races and how to release the GIL to allow real Python threads to run concurrently. Describes replacing a Python network parser with Rust for about a 15% production speedup, discusses conversion costs and using the buffer protocol to avoid copies, and notes PyO3 currently requires Rust nightly with plans to stabilize.

AI-written summary · about

  1. 0:00Rust in Python intro
  2. 3:41Rust ownership model
  3. 8:45Borrowing in Rust
  4. 15:45Safe Rust compilation
  5. 16:08Using Rust in Python
  6. 19:45PyO3 library
  7. 24:07Python classes in Rust
  8. 27:09PyO3 advanced
  9. 29:06Production use case
  10. 31:30Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.