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

linuxmemes

20954 readers
108 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] 11 points 10 months ago* (last edited 10 months ago) (2 children)

This seems really cool!

But dynamic linking saves space AFAIK

[–] [email protected] 15 points 10 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 10 months ago (1 children)

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

[–] woelkchen 14 points 10 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.

[–] woelkchen 3 points 10 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.