4 ms·
I think musl libc [1] has good quality code. If anything their build system is great. It makes the code much easier to navigate. [1] https://www.musl-libc.org
by gorb314 8y ago
I think musl libc [1] has good quality code. If anything their build system is great. It makes the code much easier to navigate.
[1] https://www.musl-libc.org https://www.musl-libc.org
- izabera 8y agohttps://git.musl-libc.org/cgit/musl/tree/src/string/strcspn.c#n14 https://git.musl-libc.org/cgit/musl/tree/src/string/strcspn.... https://git.musl-libc.org/cgit/musl/tree/src/stdio/vfprintf.c#n561 https://git.musl-libc.org/cgit/musl/tree/src/stdio/vfprintf.... ah yes, good quality code
- stonogo 8y agoWhat's the problem, out loud?
- AndyKelley 8y agoI still think musl overall is quite readable, but my goodness, that switch statement in your second example. What a monster. I didn't think it was possible to be this confusing without the preprocessor.