3 ms·
Libpng wasn't good example regarding size indeed, my main focus was security and how much of things it can affect. For heavy libraries, good example is Qt and
by dig1 7y ago
Libpng wasn't good example regarding size indeed, my main focus was security and how much of things it can affect.
For heavy libraries, good example is Qt and KDE. KDE would preload all necessary libraries so KDE and Qt applications could start faster, and there was significant differences when Qt application was started under KDE comparing other desktop environment.
Don't forget that under X11, everything is linked with X11 libraries and many applications with either Qt or Gtk, which brings own set of additional dependencies (pango, cairo, etc).
> Regarding security issues. I imagine that we will gradually rewrite everything in memory-safe languages such as Rust
I'm not sure how this will save us from programming errors. You just move from one surface (memory) to another (VM, compiler, package manager) with added complexity.