• MartianSands@sh.itjust.works
    link
    fedilink
    arrow-up
    0
    ·
    10 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

    • cmnybo@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 days ago

      You don’t need 64 bit programs or CPUs to fix the 2038 problem. You just need to use a 64 bit time_t. It will work fine on 32 bit CPUs or even 8 bit microcontrollers.