logoalt Hacker News

grep_ittoday at 4:23 PM2 repliesview on HN

I think the size of linked binaries and simplicity were always the main features?


Replies

Joker_vDtoday at 4:33 PM

Yeah... I've recently had a chance to compare how fgets is implemented in both GNU libc and musl, and, well. With glibc, it was a challenge to even find where the fgets's code actually is.

jdc-pubtoday at 5:32 PM

I haven’t dug into why, but for unknown-linux builds on x86, Rust binaries have been substantially smaller on musl than standard dynamic linking to glibc, for me. No idea if I’m doing something wrong or if the handful of cases I tried were all special in some way.