[kwlug-disc] Xubuntu 22.04 to 24.04 Upgrade

Khalid Baheyeldin kb at 2bits.com
Tue Oct 8 16:42:56 EDT 2024


On Tue, Oct 8, 2024 at 4:22 PM William Park via kwlug-disc <
kwlug-disc at kwlug.org> wrote:

> What is wrong about static linking?  You know exactly what went into the
> binary.  Sometimes, you want that, no?
>

Sure.
There is nothing wrong with either at a conceptual level.

For a company that builds its own local applications, and
they compile on their own, they can sure do static linking.

It is when you distribute software at a large scale (e.g. complex
applications, a Linux distro, ...etc.) that dynamic linking is better
from a maintainability and security perspective.

If there is a bug (functionality or security) that was found in some
shared library, an update to that library makes sure that everything
else on that machine is now secure. The alternative, if static linking
is used, is that you have to update a huge amount of programs and
packages to get them all functional/secure. If it is software that you
don't manage yourself, then you see why dynamic linking is superior
in this scenario.

As people move to blobs, be they docker images, flatpaks or snaps,
this whole paradigm that has proven functional over the last 3 decades
is now broken, and we have fragmentation within the same system.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kwlug.org/pipermail/kwlug-disc_kwlug.org/attachments/20241008/8ccff460/attachment.htm>


More information about the kwlug-disc mailing list