3 ms·
Neat! I did a fair bit of toying with Go's WASM target early on and was able to port a couple neat things to the web. The sheer size of the WASM output though w
by donatj 3mo ago
Neat! I did a fair bit of toying with Go's WASM target early on and was able to port a couple neat things to the web. The sheer size of the WASM output though was a limiting factor for me, and I kind of stopped toying with it a number of years ago.
Are you using the built in WASM target? I've been told Tiny Go's WASM build target is worth investigating but haven't tried.
- yogiisinaga 3mo agoYes, the size of the binary is quite big (~4MB for the landing page) but it's a trade-off that I'm taking with this approach and I think there will be ways to optimize for size. I'm currently using the built-in WASM target but Tiny Go is one of the items that I have on v1.0 road map. Will give it a shot and see if it actually helps with the size without affecting any performance.