Love to see upgrades with a negative net size lmao. Software should get more optimized with time, not more bloated. Oop, just got the gnome console popup notification saying that my install command finished running, sweet – it took as long as making this post

  • @[email protected]
    link
    fedilink
    English
    231 month ago

    I’m not a programmer by any means, but I’m guessing, they are just removing old redundant features and code, but I could be very wrong here.

    • lime!
      link
      fedilink
      English
      241 month ago

      a new version of a program can also move to a different set of dependencies that is shared with another program, so you don’t need to keep both around.

      • @patatahooligan
        link
        English
        131 month ago

        This wouldn’t appear like this when upgrading the system with pacman. pacman does not automatically remove orphaned dependencies during upgrades. You have to query for them and remove them explicitly as a separate operation afterwards. So in the OP what we’re seeing is the new versions of packages themselves getting smaller.

          • swab148
            link
            fedilink
            English
            41 month ago

            Good ol’ pacman -Rns $(pacman -Qqtd), or as I’ve aliased it, orphankiller

            • lime!
              link
              fedilink
              English
              21 month ago

              saved me a gig ^^

              had some old plasma5 stuff lying around from before the upgrade.

    • LungOP
      link
      English
      1
      edit-2
      1 month ago

      I remember one internship in college, I realized that after 4 months of work, the result was 15k lines less code than when I started. I figured out new ways to structure the system so it was much easier to write and maintain, while actually adding features. That felt great

      And yeah, there are many ways for it to happen. Ex. someone was shipping the tests with the code and decided to stop, debug symbols being removed, inlined dependencies being externalized, maybe a new version of a UI toolkit has extra icons built in

      Efficiency can gently creep in. What blows my mind is that this is averaged out across so many packages at once. And sure, sometimes it goes up too, but nothing like Windows/OSX. It’s really cool that you can make a Linux that will fit into ~any space you want, whereas the min requirements for Win11 include 64gb of hd