I'm really confused about glibc and musl. Can someone explain what these libraries are and how they differ in practical terms?
2 Answers
Basically, glibc is responsible for both C and C++ libraries, while musl only handles the C library. Musl aims to stick closely to ISO C standards, whereas glibc has evolved away from that a bit. They also aren’t ABI compatible, so unless you have a specific requirement, sticking with glibc is probably your best bet since most developers assume you’re using glibc when they write software for Linux.
If you're trying to decide between glibc and musl, glibc is the more commonly used library and works with most desktop Linux software. Musl is lighter and better suited for specific use cases like servers or embedded systems, but it might not support all the programs you'd want to run on your desktop.
Thanks for the info! I think I'm leaning towards trying musl.

Got it, that clears things up, thanks!