r/voidlinux • u/feelask • Aug 03 '26
Musl or Glibc
I'm an Arch user looking to switch to Void, and I'd like to know which option is better for programming and gaming, specifically for titles like RE2 Remake (via Steam/Flatpak) and BotW (via Cemu/Flatpak). Basically, I want to know: which is the better choice, musl or glibc?
23
Upvotes
38
u/DistinctDot5131 Aug 03 '26
glibc
22
u/Ok_Record_1237 Aug 03 '26
if you don't know the answer, pick glibc.
38
u/ipsirc Aug 03 '26
If you don't know by your own, then the answer is always glibc.
11
u/Lumpy_Roll158 Aug 03 '26
9 times out of 10 if you want a frictionless experience, glibc is always the way to go. It's not that musl is inherently unusable on a desktop system, but that distro maintainers will often decide that software is "broken on musl" because they don't want to patch it or don't have the maintainer headcount to maintain the musl side of things with the same love.
5
u/SubjectThing1417 Aug 03 '26
glibc is the standard
8
u/Key_River7180 Aug 03 '26
You simply don't game with musl.
(in fact, i had to install bedrock linux to correctly run firefox and steam)
3
u/ydobon31337 Aug 03 '26
Musl is still a very niche field. Which means you'll most likely mess up the dependencies and compatibilities unless you're very sure how musl ecosystem works, especially in void linux. If you don't know how musl actually works, just go for glibc.
3
u/Simple_Hamster_4096 Aug 03 '26
Not suitable for gaming, musl, from what I have read - but I don't game, so musl is my choice. Better memory utilization, better security, much better for older hardware.
I was on Arch for two decades - moved to Void with musl and have never looked back...
6
u/Rigamortus2005 Aug 03 '26
If you actually want to use your computer use glibc
3
u/devnyll Aug 03 '26
glibc
3
u/goldmurder Aug 03 '26
if you don't have any particular reason to choose musl, don't choose it. besides the fact that musl support in Void kinda.. sucks. due to much less contributors & maintainers compared to glibc. so if you're looking for musl linux distribution i would look into Alpine or something
2
u/sprinklednights Aug 03 '26
For gaming, glibc. Yes you can play Minecraft on musl (though not newer versions), but unless your gaming experience is SuperTuxKart and Solitaire, you can not have a pleasant experience gaming on Void Linux. It is possible, but it requires a lot more work that in the end might cause additional issues that are just unfixable.
For programming it is very similar. If you are not programming in C, you basically have no reason to use musl. There is just not much of a reason to switch to musl if you want to write code.
Personally, I use musl on my laptop and glibc on my desktop. However, there are some issues I did not expect to come. One I remember was Chromium being broken, which was very annoying and took a while to get fixed. So, you may experience things maybe not working (especially if you download a lot of things manually instead of using xbps).
2
u/GhostVlvin Aug 03 '26
Glibc cause afaik musl is not fully compatible and can't be used as a pswap replacement for software compiled for glibc. So you'll need to recompile every blob that doesn't come with musl support and abandon proprietary software completely
1
u/Specialist-Dog-501 Aug 03 '26
I had that question too. So musl..would be better performing in theory, but in practice there's not enough developers supporting it with ports, so there's not many apps present? Suprised, that then this small ecosystems like VOID/Alpine do not share their apps to get beyond the critical mass needed..but anyway- for me then the answer is also clearly glibc, thanks for this pretty clear summary!
1
u/chanelnumberfly Aug 04 '26
Do you do a lot of networking-related things? Iirc musl is weird about udp.
1
u/Mulpin70 Aug 08 '26
Glibc its possible popular and big in size linux-gnu full set of gnu instruments only on that can install natively steam, musl is BSD-like libs, in that case you can changing the instruments in that library like using toybox, busybox, etc. but you can't install natively steam because valve compiling steam only on glibc, pick at your choice
1
u/SrDicov Sep 18 '26
Realmente no es un problema.
todo el contenido de flatpak te funcionará perfeectamente tanto en musl como en glibc, el problema viene cuando tratas de ejecutar sotfware fuera de flatpak y este está compilado para glibc.
Si quieres romperte la cabeza y aprender un poco más en el camino, usa musl, pero si simplemente quieres estar chill con tu vida, quedate en glibc.
1
u/Creative-Outside-350 Aug 03 '26
It would be besically the same, however the ways to make things work will differ. Musl is not well documented, if at all. It is not like it is harder to make things work, it is just that somethimes you will need to do a research (for example, to get the best performance in Steam games you would need an unofficial AppImage because there is no official native musl builds of Steam). For ease of use I would pick glibc
1
u/Jealous_Shower6777 Aug 03 '26
If for some reason you really want to try musl then install alpine, not void.
0
u/[deleted] Aug 03 '26 edited Oct 09 '26
[removed] — view removed comment