4 ms·
There's no VM in Go—you're probably thinking of the runtime. A "Hello World!" using 1.15.4 on linux/amd64 takes up 1.2MiB of space (731KiB after UPX). Using h
by thegeekpirate 6y ago
There's no VM in Go—you're probably thinking of the runtime.
A "Hello World!" using 1.15.4 on linux/amd64 takes up 1.2MiB of space (731KiB after UPX).
Using https://github.com/tinygo-org/tinygo https://github.com/tinygo-org/tinygo, it drops to 21KiB (unable to be compressed further using UPX), making WASM size a non-issue.
- thegeekpirate 6y agoForgot to mention I was using TinyGo v0.15.0.