3 ms·
For some applications this matters, but for a typical web server or web architecture, which is what go is optimized for, rarely if ever would a couple MB of bin
by brokencode 5y ago
For some applications this matters, but for a typical web server or web architecture, which is what go is optimized for, rarely if ever would a couple MB of binary size make a difference.
- taywrobel 5y agoEspecially when tossed in a container for most workloads nowadays. You can have a full go binary statically linked and copied into a FROM SCRATCH docker image and it just works, and is miniscule. For example, that's all that the production image of NATS Streaming is - https://github.com/nats-io/nats-streaming-docker/blob/024b04f6c0d4658cf5751b21b48555bbe9280be5/0.22.0/scratch/Dockerfile https://github.com/nats-io/nats-streaming-docker/blob/024b04...