"Shipping Rust to Python, Typescript, and Ruby Users"
summary
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
chapters (6)
- 0:00Introduction and motivation
- 3:13Why Rust as foundation
- 8:11API design choices
- 13:48Lifetime and async handling
- 19:07Versioning and releases
- 21:32Q&A session
related talks
22mFearless Refactoring
25mLessons Learned From the Rust Ecosystem That Can Be Adopted Elsewhere
34mLooking Back at Rust Usage for Guest Tools
25m"Compiler-Driven Development: Making Rust Work for You"
27mThe Wonderful World of Rust Tooling
01h 42mIntroduction to Rust (for people who have never used a compiler)
33mBuilding a pair-programming app in public with Rust
21m“Fearless Refactoring & the Art of Argument-Free Rust”
