this post was submitted on 08 Dec 2023
441 points (93.0% liked)

linuxmemes

20771 readers
1584 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 30 points 9 months ago (4 children)

https://github.com/oasislinux/oasis

Why would you want dynamic linking? Afraid you will change your mind?

[–] [email protected] 11 points 9 months ago* (last edited 9 months ago) (2 children)

This seems really cool!

But dynamic linking saves space AFAIK

[–] [email protected] 15 points 9 months ago (1 children)

It also makes updating easier. When a lib has a bug it can be fixed by updating one package. If every application on your system was statically linked, each one of these would have to be updated individually.

[–] [email protected] 5 points 9 months ago (1 children)

But then you definitely wouldn't have errors with different apps requiring different versions of the same library.

[–] [email protected] 14 points 9 months ago

But then you definitely wouldn’t have errors with different apps requiring different versions of the same library.

That's why libfoo.so.1.2.3, libfoo.so.1.2.4, libfoo.so.1.3.9, etc. exist. Flatpak also exists. Just link to a specific version of a freedesktop.org Runtime.

[–] [email protected] 3 points 9 months ago

But dynamic linking saves space AFAIK

Yes, it does and while I'm not a pedant about saving every possible byte in a time of terabyte SSDs, static linking everything is just insanely wasteful.

[–] [email protected] 8 points 9 months ago

Why would you want dynamic linking?

Because static linking everything sucks.

[–] [email protected] 3 points 9 months ago

Neat, I wish some of these projects weren't so apt to prime themselves for corporate takeover and instead stuck more with copy left.

Though I think I prefer the guix set up of keeping a unique package based on checksum and linking those out as required.

[–] [email protected] 3 points 9 months ago

isn't that just flatpak with extra steps