I didn’t know whether to mark this NSFW or not but it’s time to buy a new computer if you haven’t upgraded in multiple decades.

  • peetabix@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    22
    ·
    13 hours ago

    Linux newb here. So I’m assuming this would make the kernel smaller, and take up less space. Would it be significant?

    • Kazumara@discuss.tchncs.de
      link
      fedilink
      arrow-up
      22
      ·
      7 hours ago

      The size difference is not significant. This is about the maintenance burden. When you need to change some of the code where CPU architecture specific things happen you always have to consider what to do with the code path or the compiler flags that concern 486 CPUs.

      Here is the announcement by the maintainer Ingo Molnar where he lists some of the things he can now remove and stop worrying about: https://lore.kernel.org/lkml/20250425084216.3913608-1-mingo@kernel.org/

    • LeFantome@programming.dev
      link
      fedilink
      arrow-up
      31
      ·
      11 hours ago

      The Linux kernel is well over 30 million lines of code (lots of that is drivers).

      This change shrinks the kernel by about 15,000 lines. That is not nothing, but it hardly moves the needle.

      It is just one less thing to have to worry about and one less constraint to limit flexibility in the future.

    • ShittyBeatlesFCPres@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      47
      ·
      13 hours ago

      It’s probably less about making the kernel smaller and more about security and reviewing code. The less code you have to maintain, the fewer vulnerabilities even if it’s old code.

      I would doubt almost 20 year-old code is taking up a lot of space or presenting new vulnerabilities. And it’s obviously open source so if anyone needs it, they can always use an older kernel or maintain it. Sometimes, your oldest code is insane. I wish there was a budget for every company and government to pay retirees part time to go back over their oldest code that’s still in use. A lot of retired programmers would do it for fun and nostalgia. And to be horrified something they wrote 20 years ago hasn’t been updated or replaced.

      • utopiah@lemmy.ml
        link
        fedilink
        arrow-up
        14
        ·
        12 hours ago

        I wish there was a budget for every company and government to pay retirees part time to go back over their oldest code that’s still in use. A lot of retired programmers would do it for fun and nostalgia.

        There is no budget for it AFAICT but there is https://github.com/abandonware and others trying to help on that path.

    • 4am@lemm.ee
      link
      fedilink
      arrow-up
      3
      ·
      13 hours ago

      Probably not a lot of space savings, but certainly a reduction in complexity, which helps programmers keep everything together and frees their time to work on the newer stuff