• @[email protected]
    link
    fedilink
    English
    1088 months ago

    If we’re still using JavaScript in the year 275,760 we deserve the resulting epoch collapse

    • palordrolap
      link
      fedilink
      258 months ago

      Bold of you to assume that humanity will even exist at that point. In fact, it’d be pretty bold to assume we’ll exist in 2757; forget those last two digits.

      • Big P
        link
        fedilink
        English
        258 months ago

        I’m not even sure we’ll be existing in 2057 at this rate

    • @[email protected]
      link
      fedilink
      148 months ago

      Javascript will subsume all other languages by then. Humanity won’t even know that others existed, or even what it is. It’ll just be called Script, the way you tell computers what to do when the AI doesn’t understand your prompts correctly.

  • @[email protected]
    link
    fedilink
    English
    14
    edit-2
    8 months ago

    The replacement for the JavaScript Date API is on the cusp of finalization.

    They just got an RFC proposal approved by the IETF for an extension to the way datetime strings should be serialized that adds support for non-Gregorian calendar systems. That seems to have been the last round of red tape holding them back. Now it’s just a handful of bugfix PRs to merge and browsers can begin shipping implementations unflagged.

    You can watch the progress here if you find it interesting. In the meantime, there is a polyfill out now if you want to get started with it.

  • @mercano
    link
    98 months ago

    All numbers in JS are stored as 64-bit floats, so past a certain point, precision starts to degrade.

    • @PixxlMan
      link
      28 months ago

      Precision always degrades