Announcement

Collapse
No announcement yet.

Another Year Closer, Linux 4.21 Getting More Preparations For Y2038 Problem

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Another Year Closer, Linux 4.21 Getting More Preparations For Y2038 Problem

    Phoronix: Another Year Closer, Linux 4.21 Getting More Preparations For Y2038 Problem

    Kernel changes continue flowing for addressing the "Year 2038" problem where on where on 19 January 2038 a signed 32-bit integer is no longer large enough for accommodating the number of seconds since 1970 as the 32-bit Unix time format...

    http://www.phoronix.com/scan.php?pag...ges-Linux-4.21

  • #2
    Don't worry, kernel devs: By that time, Google will have enslaved humanity and we'll all be running Fuschia.

    Comment


    • #3
      I wouldn't worry about it since by then the kernel by itself would be deemed obsolete and would just be merged as systemd-kernel. This would be part of a much larger and more concise solution called systemdOS.

      Comment


      • #4
        Jokes aside, it it actually worth a thought if the computing landscape can change that dramatically within the next 20 years to hypothesize that Linux and friends might not play a relevant role at this time anymore. . .













        ... probably NOT

        Comment


        • #5
          So instead of `int` it will now be `unsigned long long int`? Isn't there a better way to tell time than using a 1970 epoch?

          Comment


          • #6
            Originally posted by xinthose View Post
            So instead of `int` it will now be `unsigned long long int`? Isn't there a better way to tell time than using a 1970 epoch?
            Not really, unless you want to sacrifice either precision or the ability to do common time-related calculations like "time since [timestamp]" in a simple and easy way.

            Comment


            • #7
              Originally posted by xinthose View Post
              So instead of `int` it will now be `unsigned long long int`? Isn't there a better way to tell time than using a 1970 epoch?
              yes. no. they are all terrible. time is awful.

              A second is probably the best out of the lot - being an integer it is easy to work with - there is always the same number of milliseconds in a second, it's small enough, it's big enough. it doesn't take up much memory. and for operating system level stuff you probably don't need to know much else.

              Caring about dates in userland though is a completely different scenario check this out for a laugh https://infiniteundo.com/post/253269...eve-about-time

              Comment


              • #8
                Originally posted by xinthose View Post
                So instead of `int` it will now be `unsigned long long int`? Isn't there a better way to tell time than using a 1970 epoch?
                Sure. A 128-bit count of Planck Time (10⁻⁴¹ seconds) since the Big Bang. Perfection!

                But wait, time is meaningless except in a single reference frame.

                So, no, time measurement pretty much sucks everywhere.

                Comment


                • #9
                  Originally posted by xinthose View Post
                  Isn't there a better way to tell time than using a 1970 epoch?
                  Honestly, not really. Time measurement is completely arbitrary anyway, so if you're going to have a "zero" point, 1 Jan 1970 is as good a choice as any. And once you've established that, it's just a matter of deciding what you're counting... whether it's days, seconds, nanoseconds, whatever.

                  The real headaches in telling time are around converting that count into traditional "human-friendly" measures... accounting for such wonderful human inventions as leap years, timezones, and daylight savings.

                  Comment


                  • #10
                    Originally posted by AsuMagic View Post
                    Don't worry, kernel devs: By that time, Google will have enslaved humanity and we'll all be running Fuschia.
                    I don't want to be a pimp exploiting a demented young lady from Mervin Peake's Ghormenghast...

                    Comment

                    Working...
                    X