Hacker News new | ask | show | jobs
by jbrichter 4271 days ago
I had a similar question to this once, and what I mainly found out was that FreeBSD's (and thus OSX's) libc is much, much, more readable than glibc.
2 comments

Any other C library is more readable than glibc. Even on Linux, the Musl C library is far far far more readable.

The OpenBSD C library is the one I usually look at when I want to understand how a specific function works. It doesn't have insane optimizations or bloat like glibc, but it's clean and portable.

The only thing you can begin to understand by reading glibc is the terrible genius of Ulrich Drepper.
You're correct.