wasmfetch
Go HTTP fetch helper compiled to WebAssembly for JavaScript.
HTTP fetch helper compiled from Go to WebAssembly so Go request logic can be invoked from JavaScript environments.
The problem
Bridging Go networking logic into browser JavaScript requires managing the JS–WASM boundary, promises, and serialization cleanly.
Approach
Compiles a Go HTTP helper into a WebAssembly module callable from JavaScript.
Developers exploring Go-to-WebAssembly interop and cross-runtime request execution.
JavaScript–WebAssembly Request Boundary
How does an HTTP request cross between JavaScript host code and a Go WebAssembly module?
Bridging Go networking logic into browser JavaScript requires managing the JS–WASM boundary, promises, and serialization cleanly.
Compiles a Go HTTP helper into a WebAssembly module callable from JavaScript.
- — Compiles Go HTTP fetch logic to WebAssembly.
- — Exposes a callable interface to JavaScript host environments.
Architecture & notes
Claims are labeled by evidence type. Details requiring direct source inspection are kept explicit.
Capabilities2
- — Compiles Go HTTP fetch logic to WebAssembly.
- — Exposes a callable interface to JavaScript host environments.
Design & implementation evidence2
Illustrates request parameters marshaling from JavaScript into Go WASM and returning structured results.
Exact syscall/js exports are pending direct repository inspection.
Scope & limitations1
- — Conceptual boundary diagram only; no compiled WASM binary is loaded in this page.
Related work
Shared concerns: understanding computation from first principles