Towards zero-copy binary (de)serialisation in TypeScript
Talk Dev tooling TypeScript WebAssembly
JSON is neither type-safe nor cheap to parse. I broke down the TypeScript side of zero-copy binary protocols, from raw DataViews to Cap’n Proto, showing how their binary layouts eliminate parsing overhead entirely.
The progression matters: understanding how DataViews work at the byte level makes Cap’n Proto’s zero-copy guarantees concrete rather than abstract.