Re:Epochalypse
by coffeebeqn on Friday January 06, 2023 @11:22PM
(#34285173)
Aren’t most systems 64-bit by now already? Maybe I’m too optimistic/startup focused
[ Parent
| on HN ]
It doesn't always help, it's about how is epoch defined in code, even on 64 bit system it can be defined as int32 and will overflow.
Sure, unless you count systems in sectors like banking, airlines, or government.
Re:Epochalypse
by pantalaimon on Saturday January 07, 2023 @06:47AM
(#34287213)
Most embedded systems are 32 bit.
Yea both newlib and picolibc use 64 bit time_t now, but that doesn’t stop people from using 32 bit timestamps anyway …