this post was submitted on 31 Dec 2024
289 points (100.0% liked)

Programmer Humor

22245 readers
708 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] 31 points 3 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.

[โ€“] [email protected] 2 points 3 months ago

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