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

      Define “mainstream” and “modern”.

      If we define mainstream as “GUI based, user oriented”, that gives us windows, macOS, iOS, Android, and Linux.

      In any of those cases I’d bet you’ll find some kernel code from at least 30 years ago. I’m not saying you’d find entire untouched libraries, but I would put good money on untouched functions.

      • Prior_Industry@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        18 hours ago

        Those would fit my definition. And yes I would expect they all have some very old code still included.

        I know it’s fashionable to dunk on Windows but running old code seems pretty universal OS wise.

        • BigDanishGuy@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          2
          ·
          18 hours ago

          If it aint broken. But also when coding you don’t start reinventing everything yourself. Well… I did hear about some researchers at my old uni, they would start a project out with developing a task specific language. But there’s a reason they were working as postdocs at a university and not in the private sector.

          Anyway, only a statistically insignificant amount of programmers don’t reuse code.