349
Y-10K (lemmy.ml)
you are viewing a single comment's thread
view the rest of the comments
[-] juliebean@lemm.ee 53 points 3 days ago

hopefully by then it'll all be sorted by whatever fix they implemented before 2038.

[-] MartianSands@sh.itjust.works 27 points 3 days ago

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

[-] cmnybo@discuss.tchncs.de 36 points 3 days ago

You don't need 64 bit programs or CPUs to fix the 2038 problem. You just need to use a 64 bit time_t. It will work fine on 32 bit CPUs or even 8 bit microcontrollers.

[-] MartianSands@sh.itjust.works 2 points 3 days ago

True, that should have occurred to me. That's what I get for not touching a compiler since the Christmas holidays started

load more comments (11 replies)
load more comments (12 replies)
this post was submitted on 31 Dec 2024
349 points (98.6% liked)

Programmer Humor

19870 readers
26 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