70,000 Lines of Code, 7 Languages: How to Scale via Rust Core
Rust Sdk Temporal Ffi Cross Language Development Webassembly Flatbuffers Capn Proto Async Programming Software Architecture P yo3 Neon Rust
Spencer Judge (Temporal SDK Team Lead) presents the architectural approach of consolidating 70,000 lines of client-side SDK logic across 7 programming languages into a unified Rust core with language-specific FFI bridges. The talk covers practical challenges including memory management across C FFI boundaries, bridging async runtimes between Rust Futures, Python/JS Promises, and Ruby Fibers, and explores future directions with WebAssembly and zero-serialization IDLs. Essential viewing for engineers building multi-language SDKs or considering shared core architectures.