• MartianSands@sh.itjust.works
    link
    fedilink
    arrow-up
    0
    ·
    8 days ago

    That’s easy. The 2038 problem is fixed by using 64-bit processors running 64-bit applications. Just about everything built in the last 15 years has already got the fix

    Using that fix, the problem doesn’t come up again for about 300 billion years

    • pimeys@lemmy.nauk.io
      link
      fedilink
      arrow-up
      0
      ·
      8 days ago

      And not using 32-bit integers to calculate time. Which is still a thing in many many many codebases written in C or C++…

      • JustEnoughDucks@feddit.nl
        link
        fedilink
        arrow-up
        0
        ·
        8 days ago

        32 bit embedded processors us a lot of 32 bit time, though i am not sure if date time libraries in SDKs have been updated to use 64 bit for time.

        • pimeys@lemmy.nauk.io
          link
          fedilink
          arrow-up
          1
          ·
          8 days ago

          Linux kernel updated to 64 bit time quite recently. In 2038 I can guarantee somebody in a very serious business is still using an ancient RHEL and will have issues.