Comment on single binary executable and dlls
arcimboldo@lemmy.sdf.org 1 year ago
When a basic dynamic library needs to be updated because, for instance, there is a big security issue, then all your statically linked binaries will have to be updated. Which means every one of those developer teams need to keep track of all the security fixes, release a new version of the binary and push it, and every user will have to download gigabytes and gigabytes of data.
While if you have dynamic libs you only have to download that one, and the fix will be pushed earlier and all the apps will benefit from it.
muleunchangedstarved@programming.dev 1 year ago
if users compile the program on their computers (like AUR) then no need to download gigabytes, you just need the source code.
Kache@lemm.ee 1 year ago
That route already exists today as “the web”, where the “latest” JavaScript source is downloaded and JIT-ed by browsers. It’s also not a great example of stable and secure software.
mustardman@discuss.tchncs.de 1 year ago
Let’s get grandma running Gentoo!
MNByChoice@midwest.social 1 year ago
Gentoo builds take a long time. Plus hard to use the computer during that time.
(I may be presuming as the comment above yours is about OS wide. And this was how Gentoo handled things.)
exi@feddit.de 1 year ago
But it’s a gigantic waste of energy and time when you could just download a 2mb package and be done with it.