Hacker News new | ask | show | jobs
by notnullorvoid 89 days ago
You can avoid the serialization in WASM by pushing structured bytes to the SharedArrayBuffer, then do serialization in JS which should be relatively cheap compared to pushing JSON strings across the boundary.