4 ms·
Saying musl is non-standard is a serious allegation. Can you expand on that? In what way does it violate the standard?
by torstenvl 3y ago
Saying musl is non-standard is a serious allegation. Can you expand on that? In what way does it violate the standard?
- wavemode 3y agoI read "nonstandard" in their comment by its dictionary definition ("not average, normal, or usual"). Not that it literally violates a published standard.
- NewJazz 3y agoMost Linux installs are going to be using Bionic libc, so still dubious to call glibc "standard". This is Linux. There is no standard. OpenWRT used uClibc until 2019.
- xcv123 3y agoGNU/Linux is the standard, as in most common. That's where it all started. Android is not used as a desktop or server OS.
- LeFantome 3y agoI am a fan of Chimera Linux and both Alpine and Void also use MUSL. But there is no denying that Glibc is the de facto standard on Linux Desktops and many desktop applications assume it. To me, that is a bad thing and we agree that diversity should be possible. We do not agree that “most Linux installs are going to be using Bionic”. Android uses the Linux kernel but it is not what people mean when they say “Linux”. The applications running on Android and the ones running on your Linux desktop are separate universes.
- NewJazz 3y agoAndroid uses the Linux kernel but it is not what people mean when they say “Linux”. Speak for yourself. In my mind, Linux is home routers, smart TVs, digital signage, tablets, smartphone, fridges, and yes, servers and workstations.
- cycomanic 3y agoAre you saying that just to be contrarian? When somebody tells you they're running Linux on the laptop, you actually think they are owning a chrome book (considering that there are likely more chrome books than laptops with other linuxes), when you read a job add which requires Linux admin knowledge, you think they mean being able to install apps on android?
- NewJazz 3y agoNo and no.
- musicale 3y ago> To me, that is a bad thing and we agree that diversity should be possible. I too would like the standard C library to be an actual standard with multiple compliant and compatible implementations, and I'd like apps to work correctly across multiple implementations.
- torstenvl 3y agoThat strikes me as disingenuous. Can you show me even one example of another person using "nonstandard" in this way as applied to a C library?
- xcv123 3y agoGlibc is the standard (as in the most commonly used) libc. Musl is not commonly used. Musl is not the standard libc on Linux. It requires some effort to migrate applications to musl, and there are functional differences from glibc. https://wiki.musl-libc.org/functional-differences-from-glibc.html https://wiki.musl-libc.org/functional-differences-from-glibc...
- deleted 3y ago[deleted]
- arp242 3y agoYou are replying to someone who did, so there's your example. There's a bunch of other people in this thread as well – you really don't need to look very far. "Standard" is one of those words that can mean different things. Insisting on one absolute definition and calling anyone who uses another definition "disingenuous" is not hugely constructive.
- trenchgun 3y agoAre you saying there is not only one "standard" use of the word "standard"?
- marcus0x62 3y ago> Insisting on one absolute definition and calling anyone who uses another definition "disingenuous" is not hugely constructive. It's also ironic coming from someone who's opening salvo was to describe a post about musl being "non-standard" as constituting a "serious allegation".
- torstenvl 3y ago> Insisting on one absolute definition and calling anyone who uses another definition "disingenuous" is not hugely constructive. Nobody said anything about an absolute definition. When describing the C standard library, the only reasonable interpretation of "nonstandard" is that it does not adhere to standard C. There are no counter-examples anyone has been able to provide from any corpus.
- deleted 3y ago[deleted]
- dataangel 3y agoyes exactly what I meant
- marcus0x62 3y ago> Saying musk is non-standard is a serious allegation. No, it isn't. It's the GP's opinion. Standard has a few different meanings, including something typically or commonly used. As in "GNU Libc has been the standard C library used by Linux distributions since 1991." That would be, you know, a statement of fact. Musl is, at best, a niche option used by a few distros.
- dataangel 3y agoIt's not used by any of the major ones, so in practice lots of apps will be broken. I like musl, and I link it for my own stuff but I only have to make sure my stuff works. if I had to make sure everyone's existing stuff worked glibc is the only practical choice.
- mynameisnoone 3y agoYep. There are lots of edge-cases and macros that glibc provides are difficult to emulate because they require a lot of domain-specific knowledge and special handling. There isn't really a way to use musl in any large distro without lots and lots of patching and giving up correctness and completeness. It's akin to not using ICU4{C,J} and praying that simplistic Unicode handling like normalization will magically work. Using musl is fine for limited uses, but it's magical thinking to believe that it's at exact feature and functional parity replacement for glibc.
- dizhn 3y agoIf a distro is advertising the fact that they are not using glibc, then that's the standard. I don't mean no snark. This is the way parent probably used the term. It doesn't mean musl is not good or it violates some standard. Though you are more likely to have problems with it as an end user where gentoo/arch wikis won't be of any help.