3 ms·
What OS/arch? I have a small program that compies to 16MB, 14 with -w on OS X. Compiling for Linuxx with -w results in a 14MB binary too.
by wlll 6y ago
What OS/arch? I have a small program that compies to 16MB, 14 with -w on OS X. Compiling for Linuxx with -w results in a 14MB binary too.
- distortedsignal 6y agoThis is a binary with ~1800 LoC including comments and generous whitespace. Probably 16-1700 Executable SLoC. Mostly some API handling, file reading, and user input requests. I'm running the following go version: go version go1.14.4 darwin/amd64 Looks like the Linux and Darwin versions of the binaries are only a few hundred kb different.