@klardotsh @josch @whitequark I find it somewhat readable, sure short variable names but strncmp is doomed to be like that.
The unsigned char cast is interesting, not sure what it's for and I guess could use a comment but it's not really worrying. The printf functions in musl are more annoying to read and I think dalias has made them more readable recently.
Meanwhile glibc it's:
- layers and layers of macros for even trivial functions, making it a pain to debug;
- dangerous features like ifunc and nsswitch.conf (dynamically loading authentication libraries is a hard no for me);
- ld.so having all kinds of questionable features making it a source of exploits for setuid binaries;
- python and perl as build dependencies, making it a *very* long adventure to bootstrap from full-source;
…