Towards Zero-Copy Binary (De)Serialisation: TypeScript <-> Rust

Towards Zero-Copy Binary (De)Serialisation: TypeScript <-> Rust

Speaker: Alberto Schiabel


JSON is the de facto standard for sharing data between backend services, but it’s neither type-safe nor cheap to parse. Enter the world of zero-copy binary protocols for Rust and TypeScript applications. Starting from non trivial datatypes you may find in your codebase - plus their JSON schema definition - we’ll discuss how to model them with Cap’n’Proto: a proven, zero-copy binary protocol used at Cloudflare, and crafted by the creator of Protobuf 2. Ready to level up your cross-language data handling process?


Technology & Community