3 ms·
Are we still keeping shared libraries? They are a complex solution to a problem that arguably stopped existing 20 years ago. Might be time to rethink the entire
by jeffbee 2y ago
Are we still keeping shared libraries? They are a complex solution to a problem that arguably stopped existing 20 years ago. Might be time to rethink the entire scheme.
- account42 2y agoHave you looked at the size of some of the shared libraries on your system. E.g. check Qt. You don't want to statically link that into every tiny utility program.
- filmor 2y agoOn Gentoo, definitely. I really don't want to rebuild my whole system whenever some foundational library fixes a bug. It already annoys me quite a bit that I need to set up sccache to get half-way reasonable compile times out of Rust projects (and I'm saying that as someone who enjoys gradually replacing significant portions of the userspace with Rust tools).
- AshamedCaptain 2y agoThis by itself is half the reason I think Nix's approach is a step backwards.
- otabdeveloper4 2y agoThe Docker image layers you so dearly love are an implementation of shared libraries, except done in a broken way that's a thousand times less performant and more insecure.