by mccoyb · 8mo ago · 0 comments
Aside but 12 MB is ... large ... for such a thing. For reference, an entire HTTP (including crypto, TLS) stack with LLM API calls in Zig would net you a binary ~400 KB on ReleaseSmall (statically linked).
You can implement an entire language, compiler, and a VM in another 500 KB (or less!)
I don't think 12 MB is an impressive badge here?
$ ls -l axe
-rwxr-xr-x 1 root wheel 12830781 Mar 12 22:38 axe*
$ ldd axe
axe:
libthr.so.3 => /lib/libthr.so.3 (0xe2e74a1d000)
libc.so.7 => /lib/libc.so.7 (0xe2e74c27000)
libsys.so.7 => /lib/libsys.so.7 (0xe2e75de6000)
[vdso] (0xe2e7366b000)--
1: https://lobste.rs/s/tzyslr/reducing_size_go_binaries_by_up_7...
To your point, why even advertise the number? If that particular number is completely irrelevant in practical usage, why mention it? It seems like the point is to impress, hence my response.