Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: