this post was submitted on 31 Dec 2024
369 points (98.7% liked)

Programmer Humor

23402 readers
1796 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
[–] [email protected] 56 points 4 months ago (15 children)

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

[–] MartianSands 29 points 4 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

[–] [email protected] 41 points 4 months ago (1 children)

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 3 points 4 months 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)