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

Go does compile to wasm, however because wasm is what it is it has to carry around the entire runtime. This is obviously a much bigger issue for delivery over the web than it is for shuffling binaries around, or even more so creating them locally: last I’d checked, the baseline (an empty main function) for a go wasm package is about 1.3M.


Hardly an issue when looking at the ads crap that get download in every "modern" site.


Sure, but I think if you see the size of ad-loaded pages as a size budget or standard for your website you're already on the path towards setting your own bad example.


Sure if your use case for go wasm is ads crap knock yourself out.


That wasn't my point, ads and SPA crap available almost in every "modern" site, are several MB bigger in size than Go runtime on WASM.

Ergo a a WASM Go application will be much smaller than those "modern" sites.

I bet even smaller than GMail and Google Docs.




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

Search: