3 ms·
> it is hard to imagine ... smaller binaries > I like Go a lot, and I don't fret about binary size. But let's not be too charitable :). The CLI apps I write us
by andreynering 11y ago
> it is hard to imagine ... smaller binaries
> I like Go a lot, and I don't fret about binary size. But let's not be too charitable :). The CLI apps I write usually start trending towards 10MB with a few package imports. Their equivalents in C are usually less than 100k. One can imagine getting to better than a 100x difference.
Who want smaller binaries can use this compressor tool: http://upx.sourceforge.net/ http://upx.sourceforge.net/ It may be a bit slow but you just need to use it in the distributed version.
- icebraining 11y agoThat only saves disk space, though, not memory.