this post was submitted on 27 Jan 2024
323 points (97.1% liked)

Comics

441 readers
1 users here now

A community for sharing comics related to programming

Icon base by Delapouite under CC BY 3.0 with modifications to add a gradient

founded 9 months ago
MODERATORS
 

Hover Text:

The universe started in 1970. Anyone claiming to be over 38 is lying about their age.

Transcript

[Cueball sits at a computer, staring at the screen and rubbing his chin in thought. A friend stands behind him.]
Cueball: Weird — My code's crashing when given pre-1970 dates.
Friend [pointing at Cueball and his computer]: Epoch fail!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 15 points 9 months ago (1 children)

I’m more worried about 2038-01-19 than I was about the Y2K bug.

[–] [email protected] 10 points 9 months ago* (last edited 9 months ago) (1 children)

Why are people so worried about this? 32 bit systems aren't nearly as prevalent as they used to be

[–] [email protected] 17 points 9 months ago (2 children)

General computers, you’re right… however, embedded systems and custom programs are a whole different story.

[–] [email protected] 7 points 9 months ago

Can confirm. I can't give details, but ... yeah. Had to file a card just last month about a uint32_t UTC time value being used in a device-to-cloud message where it will definitely need to be upgraded to a uint64_t before good ol' 2038 comes ...

[–] [email protected] 2 points 9 months ago (2 children)
[–] [email protected] 11 points 9 months ago

Here’s an easy example…. Planes average about 30 years. They are usually developed over the span of 5-7 years. 64-bit processors didn’t even hit mainstream till 2003. Like cars, planes are a bit behind because they usually want them as solid as possible. So right then a life span of a plan could have been built with 32-bit systems that will still be in use in 2038. Some B-52s have had 60+ year spans. Also programs that were designed with 32-bit time to save space at a database level for example would need to be rewritten. It’s more things than you think.

[–] [email protected] 8 points 9 months ago

Some of these systems have already been in place for over 15 years. Do You really think they will be replaced in that amount of time if they are still working?