Hacker Newsnew | comments | show | ask | jobs | submit login

The C library does have an impact on the binary size. Compiling Hello World with Glibc results in a 3 KB binary on my system, while compiling with Musl results in a 1.9 KB binary. Compiling statically (no shared library dependencies) with Glibc results in a 498 KB binary, while with Musl it is only 4.6 KB.



Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact

Search: