Get the latest tech news
Comparison of C/POSIX standard library implementations for Linux
A project of Eta Labs. The table below and notes which follow are a comparison of some of the different standard library implementations available for Linux, with a particular focus on the balance between feature-richness and bloat.
Future directions for this comparison include detailed performance benchmarking and inclusion of additional library implementations, especially Google's Bionic and other BSD libc ports. glibc's bad performance could be fixed trivially by removing the code that disables the best optimization for needles shorter than 32 bytes; with this change it should match or slightly outperform musl. "Lightweight headers" are roughly the opposite, written from scratch to match the C and POSIX standards, with minimal nested inclusion and preprocessor conditionals.
Or read this on Hacker News