News for hackers. Stuff that matters.
Re:A 10x Faster TypeScript by kevingadd on Tuesday March 11, 2025 @01:50PM (#43335152)
Interop with a WASM-compiled Go binary from JS will be slower but the WASM binary itself might be a lot faster than a JS implementation, if that makes sense. So it depends on how chatty your interop is. The main place you get bogged down is typically exchanging strings across the boundary between WASM and JS. Exchanging buffers (file data, etc) can also be a source of slowdown.

There are no comments on this comment yet.