Hacker News new | ask | show | jobs
by harry8 2020 days ago
Glibc which is linked by everything in userspace.

Android is Linux but not usually gnu-linux as no glibc.

Do any of the major distros use musl or any other libc in a meaningful way?

4 comments

Alpine Linux is pretty heavily used in container space.

I've been considering using Alpine Linux or Void Linux as my main driver, though I haven't had a chance to investigate if it's a viable option.

I used Void/musl as the daily driver for a while; but I switched to the GNU libc version as I had to run VirtualBox for my (at the time new) job, and that doesn't work with musl libc (or perhaps it does with some workarounds/chroot/whatnot, but I couldn't be bothered).

There are some other things that won't work out-of-the-box either; such as the whole Widevine thing, or most Linux games from GOG.com.

None of this is musl's fault of course; but in general I found that for me, personally, running Void/musl on the desktop was too much effort with not enough benefit. I'm not a huge fan of GNU's libc, but it does work quite well overall.

I do use Alpine on my servers, and haven't had any issues there.

> Do any of the major distros use musl or any other libc in a meaningful way?

I'm playing with voidlinux/musl in a virtual machine and it's pretty neat. Just found a couple of non-posix-isms in my programs thanks to that.

Alpine does, it's heavily used in many container images.
Void and Alpine Linux.
Void runs equally well with glibc (e.g. on my desktop).

I wonder if switching between musl and glibc makes it change the uname output between Linux and GNU/Linux :)