this post was submitted on 31 Dec 2024
360 points (98.6% liked)

Programmer Humor

24834 readers
903 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] MartianSands@sh.itjust.works 29 points 6 months ago (13 children)

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

[–] pimeys@lemmy.nauk.io 23 points 6 months ago (3 children)

And not using 32-bit integers to calculate time. Which is still a thing in many many many codebases written in C or C++...

[–] JustEnoughDucks@feddit.nl 3 points 6 months ago (2 children)

32 bit embedded processors us a lot of 32 bit time, though i am not sure if date time libraries in SDKs have been updated to use 64 bit for time.

[–] pimeys@lemmy.nauk.io 6 points 6 months ago (1 children)

Linux kernel updated to 64 bit time quite recently. In 2038 I can guarantee somebody in a very serious business is still using an ancient RHEL and will have issues.

[–] ulterno@programming.dev 0 points 6 months ago

With people turning back system time to use their Trial Software forever all the time, already causing problems with GitLab history, I feel like not many will blink at that.

load more comments (9 replies)