it's written in golang. 12MB barely gets you "hello world" since everything is statically linked. With that in mind, the size is impressive.
it's written in golang. 12MB barely gets you "hello world" since everything is statically linked. With that in mind, the size is impressive.
golang doesn't statically link everything by default (anymore?), this is from FreeBSD:
I know off topic, but is that mostly coming from the Go runtime (how large is that about?)
The excessive size of Go binaries is a common complain. I last recall seeing a related discussion on Lobsters [1]. Who knows, maybe the binary could be shrunk a bit? IMHO 12mb binary size is not that big of a deal.
--
1: https://lobste.rs/s/tzyslr/reducing_size_go_binaries_by_up_7...