• @[email protected]
    link
    fedilink
    English
    1081 year ago

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

    • palordrolap
      link
      fedilink
      251 year 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
        251 year ago

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

    • @[email protected]
      link
      fedilink
      141 year 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
    1 year 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
    91 year ago

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

    • @PixxlMan
      link
      21 year ago

      Precision always degrades