News for hackers. Stuff that matters.
Re:2038: Only 21 years away by legulere on Tuesday March 21, 2017 @01:38PM (#13924413)
The year 2038 problem is actually younger than unix.

The first definition was 60th of seconds since 1970-01-01T00:00:00.00 stored in two words (note that a word is 18 bit on a PDP-7!). That definition was later changed.

Also Linus could have defined `time_t` to be 64 bit when he started linux.

https://en.wikipedia.org/wiki/Unix_time#History

http://aaroncrane.co.uk/2008/02/unix_time/

Re:2038: Only 21 years away by smsm42 on Tuesday March 21, 2017 @04:33PM (#13925968)
I'm not even sure there was a standard 64-bit type for C in 1991... Or how well compiles on PC would support that.
Re:2038: Only 21 years away by caf on Tuesday March 21, 2017 @07:50PM (#13927379)
There wasn't - the largest minimum integer size from C90 (ANSI C) was long, with at least 32 bits. "long long" was agreed upon at an informal summit in 1992 as an extension 64 bit type on 32 bit systems until it was standardised in C99 (but already existed in several compilers at that point, including GCC).

So GCC may have had 'long long' already when Linus started working on Linux.

Re:2038: Only 21 years away by gravypod on Tuesday March 21, 2017 @07:51PM (#13927385)
Well when you're the only person/people using C you can get anything through the compiler committee very quickly.