~/talk

"Shipping Rust to Python, Typescript, and Ruby Users"

Talkat RustConf 2025 · 2025-09-02..09-05· [developer-experience]
name:Sam Lijin
links:none on file
slides:none on file

Core logic (compiler, diagnostics, runtime) lives in Rust and exposes language bindings to Python, TypeScript, Ruby, and Go using pyo3 N‑API Magnus libc. A six‑person team writes ~150,000 lines of Rust over ~18 months, producing thin FFI shims, cross‑compiles across 4 targets × 6 architectures (≈24 builds), and uses cargo / build.rs for CI. Design choices include using Python‑native objects when ergonomics matter, adopting synchronous versioning for all packages, and a callback‑driven stream pattern (Tokio + Python async generator) that works reliably.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 3:13Why Rust as foundation
  3. 8:11API design choices
  4. 13:48Lifetime and async handling
  5. 19:07Versioning and releases
  6. 21:32Q&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.