Earlier quoted context omitted.
> What is the comparison between using musl and traditional glibc? you get weird bugs and failures that don't happen with glibc (like the incomplete dns resolving routines that would fail under some conditions) but you can brag about saving 30-40 mb of disk space. this project seems to be compromising on quality overall, in the name of having smaller size. Even BearSSL, by their own website is beta-quality: "Current…
https://musl.libc.org/releases.html I maintain a large codebase, widely deployed, cross compiled to many cpu architecures that's built atop musl. You're right that historically in the context of people blindly using alpine for their container base that sort of thing might be the case. The newest version of musl solves the thing you're describing and in general most of the complaints about malloc perf or otherwise hav…
Oasis – a small, statically-linked Linux system
71–80 of 288 posts
Re: Oasis – a small, statically-linked Linux system
#72Doesn't linking everything statically imply that the base image -- and memory, at runtime -- will be bloated by many copies of libc and other common libraries? I do like the simplicity of static linking but it sort of seems to go against the idea of avoiding "bloat".
Re: Oasis – a small, statically-linked Linux system
#73Earlier quoted context omitted.
While not an issue for musl-centric distros if they keep updated, note that e.g. Debian stable doesn't have that version yet, so good luck testing.
At least we have light at the end of the tunnel now. This is a tremendous improvement from the previous status quo of the musl maintainers not even agreeing that it's a problem.
Re: Oasis – a small, statically-linked Linux system
#74Earlier quoted context omitted.
At least we have light at the end of the tunnel now. This is a tremendous improvement from the previous status quo of the musl maintainers not even agreeing that it's a problem.
This alone “musl maintainers not even agreeing it’s a problem” should be a good reason to avoid musl imho
Re: Oasis – a small, statically-linked Linux system
#75What is the comparison between using musl and traditional glibc? Is there performance differences between the two? I have been seeing musl used more and more in both Rust and Zig ecosystems lately.
glibc is LGPL. Static linking your application implies some obligation on your part. Musl being MIT is less restrictive.
https://opensource.stackexchange.com/questions/13588/how-sho...
Re: Oasis – a small, statically-linked Linux system
#76Earlier quoted context omitted.
In a world where Docker and Kubernetes exist, where whole copies of operating systems are added to each running service... This seems a weird thing to complain about =)
Yeah but there I can still update vulnerable libraries independently, to be a statically linked system just means that if there is a bug in libpng then I have to recompile everything?
Oasis seems to have a good way of doing that, with the whole system being built in a single tree by an efficient build tool (my recollection from last time it was posted).
A dynamic executable needs to relink every time it's run, which also takes time.
Re: Oasis – a small, statically-linked Linux system
#77Doesn't linking everything statically imply that the base image -- and memory, at runtime -- will be bloated by many copies of libc and other common libraries? I do like the simplicity of static linking but it sort of seems to go against the idea of avoiding "bloat".
Re: Oasis – a small, statically-linked Linux system
#78Doesn't linking everything statically imply that the base image -- and memory, at runtime -- will be bloated by many copies of libc and other common libraries? I do like the simplicity of static linking but it sort of seems to go against the idea of avoiding "bloat".
I'll take bloat over dependency hell every day of the week. Feels like every single app is a bundled web browser these days anyways.
Dependency hell comes from bad dependencies that don't do semver properly. Choose your deps carefully, and that's perfectly fine.
> Feels like every single app is a bundled web browser these days anyways.
Yep, that's apparently the best way to use the bad libraries people want to use and not give a damn about semver.
Re: Oasis – a small, statically-linked Linux system
#79Doesn't linking everything statically imply that the base image -- and memory, at runtime -- will be bloated by many copies of libc and other common libraries? I do like the simplicity of static linking but it sort of seems to go against the idea of avoiding "bloat".
I'll take bloat over dependency hell every day of the week. Feels like every single app is a bundled web browser these days anyways.
Might as well go all in and use something with pervasive virtualization like Qubes.
Re: Oasis – a small, statically-linked Linux system
#80Doesn't linking everything statically imply that the base image -- and memory, at runtime -- will be bloated by many copies of libc and other common libraries? I do like the simplicity of static linking but it sort of seems to go against the idea of avoiding "bloat".
In a world where Docker and Kubernetes exist, where whole copies of operating systems are added to each running service... This seems a weird thing to complain about =)
On the contrary, I find it relevant: I think that the modern way is wasting way, way too much.