3 ms·
Many 32-bit embedded systems aren't able to update their libc.
by bonzini 6y ago
Many 32-bit embedded systems aren't able to update their libc.
- goodcanadian 6y agoSure, but what percentage of those systems will be alive in 18 years? I'm sure it is non-zero, but it is also probably small. Regardless, those systems can't be updated, so they will have the problem either way. That says nothing about whether new systems should be given 64 bit time stamps.
- throwaway09223 6y agoSystems which can't update their libc or other system software have already broken in various ways. For example, in 2007 the Energy Policy Act of 2005 changed the date when DST begins and ends. Any system unable to update its libc data files since about 13-15 years ago will display the incorrect time. I have a cheap $10 radio clock which I've had for two decades. It always displays the wrong time for a few weeks around the DST change. Any system which needs to display the correct time needs to have a mechanism for updates. The time_t wraparound is a bit deeper and more serious, granted.
- bonzini 6y agoDisplaying the time is not always needed; _tracking_ the time (storing it into a variable) is pretty much unavoidable.