Remix.run Logo
cestith 4 days ago

You have 13 years to upgrade to 64-bit ints or switch to a long long for time_t. Lots of embedded stuff or unsupported closed-source stuff is going to need special attention or to be replaced.

I know the OpenFirmware in my old SunServer 600MP had the issue. Unfortunately I don’t have to worry about that.

account42 4 days ago | parent | next [-]

Most 32-bit games won't be updated, we'll have to resort to faking the time to play many of them.

cestith 4 days ago | parent [-]

Most 32-bit games written for some form of Unix will use the system time_t if they care about time. The ones written properly, anyway. Modern Unix systems have a 64-bit time_t, even on 32-bit hardware and OS. If it’s on some other OS and uses the Unix epoch on a signed 32-bit integer that’s another design flaw.

chatmasta 4 days ago | parent | prev [-]

You’ve got 13 years to update unless any of your code includes dates in the future. Just stay away from anything related to mortgages, insurance policies, eight year PhD programs, retirement accounts…

cestith 3 days ago | parent [-]

If you’re managing mortgages or retirement accounts on systems that weren’t ready for 2038 by 2008 you were already missing the biggest bucket of the market.