Hacker News new | ask | show | jobs
by dewey 1363 days ago
> IMO it's a pretty severe design choice.

I don't think that's true, otherwise it would've been fixed already. For the main use case of Go (https://go.dev/blog/survey2022-q2-results), APIs and web services it just doesn't matter if the binary is 1MB or 30MB. Unless you are working on some embedded systems where space is scarce I don't see it as a big issue.

1 comments

1MB vs. 30MB is the difference between:

- Pull the prod image to my laptop in ~1 sec vs. pull the image in 10ish seconds

- CI build and push the image instantly vs. ~2-3+ seconds

- Long-term (1y+) retention of per-pipeline/push artifacts vs. per-branch/tag artifacts.

- All images in each node's cache vs. 50% of images in each node's cache.

Yeah, I don't really give a shit about the 30MB once it's out there. But there's also all the steps to get it / keep it out there.