Previously, Nick Waterman wrote of the end of UNIX's world being at...
3:14 am, Tuesday 19th Jan 2038, in fact.
That's assuming that UNIX is still using 32-bit signed integers for
time_t by then. It would actually be remarkably easy to upgrade it to
64 bits or so - far easier than the "2-digit year" 2000 saga. Programs
would need recompiling, but not re-writing.
For the uninitiated, I presume he means UNIX use a 32-bit signed integer
(a number that can go from -1073741824 to +1073741823, or something
along those lines) to show the number of seconds since a certain point
in time. My Psion uses the same technique for seconds since the start
of 1970 to tell the time. Thus, when the seconds run out, the computer
gets all confused...
Why bother upgrading it, though? Why not just give it a new starting
point and go from 0 again?
Incidentally, numerous other time-keeping devices (from digital watches
to video timers) use 2-digit years, but they wrap around again at a
certain point (something like 2080 for my current Databank watch).
Well, they were created to work for rather less than a human lifetime
before being superceded, I imagine...
It's also assuming we're not made extinct 10 years earlier :-)
Even if we aren't, we'll be too busy struggling to survive to be
concerned about UNIX's profits...!
Dave Chilard