Year 2038 problem !

If it doesn't fit anywhere else, drop it in here. (not to be used as a chat/nonsense section)

Moderator: Moderator Team

Post Reply
User avatar
Adcock
Posts: 241
Joined: Thu Jul 07, 2016 5:37 pm

Year 2038 problem !

Post by Adcock »

Currently ReactOS is a 32 bit OS.(mostly)
Have ReactOS developers already gotten rid of Year 2038 problem?
hbelusca
Developer
Posts: 1204
Joined: Sat Dec 26, 2009 10:36 pm
Location: Zagreb, Croatia

Re: Year 2038 problem !

Post by hbelusca »

This is a unix-only problem, therefore doesn't concern us.
User avatar
Adcock
Posts: 241
Joined: Thu Jul 07, 2016 5:37 pm

Re: Year 2038 problem !

Post by Adcock »

Well 32 bit Windows will be affected.
However, by then ReactOS will be at least 128 bit. Maybe 256 bit too.
So, this was an useless question.
Sorry.
Open Your Windows To Freedom
hbelusca
Developer
Posts: 1204
Joined: Sat Dec 26, 2009 10:36 pm
Location: Zagreb, Croatia

Re: Year 2038 problem !

Post by hbelusca »

Adcock wrote:Well 32 bit Windows will be affected.
Nope, because internally Windows does not use a 32-bit number to store the number of seconds.
User avatar
Adcock
Posts: 241
Joined: Thu Jul 07, 2016 5:37 pm

Re: Year 2038 problem !

Post by Adcock »

hbelusca wrote:
Adcock wrote:Well 32 bit Windows will be affected.
Nope, because internally Windows does not use a 32-bit number to store the number of seconds.
Hmmm...Didn't know that!
As of now MS Windows is still closed source.
Thanks for the information.

Hey. You guys are Windows geek.
Why not write a Windows/ReactOS internals or Inside ReactOS?
Please make that book freely available when you make it.
(free means libre and cost free) :D
Open Your Windows To Freedom
erkinalp
Posts: 861
Joined: Sat Dec 20, 2008 5:55 pm
Location: Izmir, TR

Re: Year 2038 problem !

Post by erkinalp »

There is Windows Internals by Mark Russinovich and Alex Ionescu.
-uses Ubuntu+GNOME 3 GNU/Linux
-likes Free (as in freedom) and Open Source Detergents
-favors open source of Windows 10 under GPL2
middings
Posts: 1073
Joined: Tue May 07, 2013 9:18 pm
Location: California, USA

Re: Year 2038 problem !

Post by middings »

Adcock, look up the documentation of the time functions used by Microsoft's versions of Windows. Time is kept as a 64-bit value that represents the number of 100-nanosecond intervals since January 1, 1601 (UTC). This is true even for versions of Windows for 32-bit processors. A roll-over of this 64-bit value will not occur before the year 30,827 A.D. ReactOS will be able to operate "in the year 2525, if man is still alive; if woman can survive..."

However, some applications that are run under Windows might use their own method of time keeping instead of the Windows time keeping functions. Some file systems cannot store file time (e.g., creation date, date last accessed, or date modified) with values as large as Windows can. Those applications and file systems might be vulnerable to something like the Year 2038 Problem.
User avatar
Adcock
Posts: 241
Joined: Thu Jul 07, 2016 5:37 pm

Re: Year 2038 problem !

Post by Adcock »

erkinalp : Thanks.
But that/those book/s is/are not free of cost.

middings : Thanks.
Are you sure the same is applicable for MS Windows XP?

And Oh, yes. You guys are geek too.
Please release a book of that kind for free (of cost).
A totally libre book of that kind would be super handy. :|
Open Your Windows To Freedom
ekohl
Developer
Posts: 16
Joined: Thu Sep 29, 2005 3:00 pm

Re: Year 2038 problem !

Post by ekohl »

Adcock wrote:middings : Thanks.
Are you sure the same is applicable for MS Windows XP?
Yes, because the higher-level time functions call NtQuerySystemTime (https://msdn.microsoft.com/de-de/librar ... s.85).aspx) to retrieve the current system time.
ROCKNROLLKID
Posts: 307
Joined: Mon Oct 17, 2016 3:19 am
Contact:

Re: Year 2038 problem !

Post by ROCKNROLLKID »

Adcock wrote:Well 32 bit Windows will be affected.
However, by then ReactOS will be at least 128 bit. Maybe 256 bit too.
So, this was an useless question.
Sorry.
To be honest, I doubt there will ever be a 256-bit. 64bit is already around 16 - 17 exibibytes. 128bit would be 281,474,976,710,656 yobibytes. The more important issue now with ram limits is what MS sets it for Windows. For example, Windows XP 64-bit had a limit of only 128gb of ram. This applied to Vista and 7 for pro/ultimate/business editions, until they later patched it to 192gb. Win10 apparently allows up to 2TB, except for home edition, which is at 128gb.

Not sure what ReactOS has plans to do with the ram limits for when they do a 64-bit version, but I don't think they should follow the same policy.
User avatar
Adcock
Posts: 241
Joined: Thu Jul 07, 2016 5:37 pm

Re: Year 2038 problem !

Post by Adcock »

ROCKNROLLKID : You are right.
64 bit was created because it was needed.
It was also economically benficial.
As of now 64 bit system with multi processor and multi core combination meets all requirements.
Normal people won't break 64 bit's limits so easily.
However scientific community might require 128 bit.
For scientific research it is not about power or limits.
It's about speed.
But in this case you are right.
Open Your Windows To Freedom
User avatar
Konata
Posts: 391
Joined: Sun Apr 20, 2014 8:54 pm

Re: Year 2038 problem !

Post by Konata »

This blatantly misinformed and baseless fear about one subject being flawed just because another vaguely-related subject is flawed reminds me of the Dihydrogen monoxide hoax.
hbelusca
Developer
Posts: 1204
Joined: Sat Dec 26, 2009 10:36 pm
Location: Zagreb, Croatia

Re: Year 2038 problem !

Post by hbelusca »

Konata wrote:[...] reminds me of the Dihydrogen monoxide hoax.
... or how to give complicated names to water xD
erkinalp
Posts: 861
Joined: Sat Dec 20, 2008 5:55 pm
Location: Izmir, TR

Re: Year 2038 problem !

Post by erkinalp »

Konata wrote:how to give complicated names to water
Dihydrogen monoxide hoax is a campaign to prohibit water.
-uses Ubuntu+GNOME 3 GNU/Linux
-likes Free (as in freedom) and Open Source Detergents
-favors open source of Windows 10 under GPL2
Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests