Spyke
lemmy.mkwarman.com

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

108
kbin.social

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.

25
Big Preply
feddit.uk

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

25

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.

14

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.

14
lemmy.world

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

9

You reached the end