Towards Zero-Copy Binary (De)Serialisation in TypeScript
Talk typescript webassembly
JSON is neither type-safe nor cheap to parse. I walked through 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.