2038 problem and potential fixes for it.

302 views

I understand the issue itself and when I read the Wikipedia it has list of solutions at the bottom that numerous different programing languages and programs have implemented. Are these solutions widespread? Is the issue itself sort of overblown with how technology exists today?

In: 0

5 Answers

Anonymous 0 Comments

Yup the problem is pretty much already solved.

The issue only really exists on Unix based systems or any software that uses Epoch time. The solution is very simple which is why it can be widespread quite easily. For software that uses Epoch time it the programmers maintaining software simply need to change a 32 bit integer to a 64 bit integer which sounds simple it may not be but it’s probably one of the easier changes to make. For the operating system the counter also needs to be changed to a 64 bit integer, for 32 bit systems the need to emulate 64 bit add operations. When the counter low half of the counter overflows the overflow bit is set if the overflow bit is set I add one to my higher half of the counter.

You are viewing 1 out of 5 answers, click here to view all answers.