considering it includes the runtime, this isn't a large file compared to images / videos you find on the web today
considering it includes the runtime, this isn't a large file compared to images / videos you find on the web today
If the compiler output is deterministic perhaps the Go runtime and Go standard libraries could be bundled as modules, allowing for aggressive cache policies. Maybe even served from a central CDN. Just a thought ...
With Go disallowing circular package refs and WASM support for func imports this should be doable. However, they'll all essentially have to share a single imported memory instance, so there'll be some central runtime heap coordination which is plenty reasonable.
https://github.com/golang/go/issues/26775
A new person on the compiler might be working on that too as a warm-up task.