While I haven't daily driven Windows in years and am usually the first to criticize Microsoft. You have to give credit where credit is due; Windows backwards compatibility is simply nuts. I had never run into compatibility issues with programs or games built for older Windows version, nor have I heard of anyone who did.
> I had never run into compatibility issues with programs or games built for older Windows version Try running a real-mode Windows program on a modern version of Windows.
Windows 1.0 and the WinAPI, 40 Years Later
11–20 of 55 posts
Re: Windows 1.0 and the WinAPI, 40 Years Later
#12Winapi has exploded the last years in terms of functionality, still it was never sanitized to follow any C standard in terms of types.
Windows type names have stayed mostly stable since Win32, but some of them are still misleading. DWORD, UINT and ULONG are all 32-bit unsigned integer types. But in C#, "ulong" is a 64-bit type despite having the same name, this leads to making mistakes when transcribing Win32 type names into C# code.
Windows came up with its type names before existed, so you won't see any uint32_t in there, just DWORD.
Re: Windows 1.0 and the WinAPI, 40 Years Later
#13While I haven't daily driven Windows in years and am usually the first to criticize Microsoft. You have to give credit where credit is due; Windows backwards compatibility is simply nuts. I had never run into compatibility issues with programs or games built for older Windows version, nor have I heard of anyone who did.
16 bit programs dont seem to work at all though - you need wine or dosbox
Re: Windows 1.0 and the WinAPI, 40 Years Later
#14Re: Windows 1.0 and the WinAPI, 40 Years Later
#15Imagine if Linux stuck to that same level of interface compatibility. Think of the thousands of man-hours lost to rewriting perfectly good code just chasing the new shiny thing. In an OS built by volunteers we're wasting all developers' time to rebuild their software for the new interface, instead of having on developer spend time to keep the old interface working with the new implementation. And don't try to go "uhm akchyually Linux is the kernel and the kernel is stable", nobody cares. I mean the whole OS, from the kernel to the GUI layer. Is it any surprise that the best tools on Linux are all console programs using the POSIX interface, which has remained stable for the lifetime of the OS? I would go as far as to say that GTK is the Linux Desktop's original sin (followed closely by Qt). Motif and CDE were already established as the Unix GUI API, they should have been reimplemented with an optional separate GTK-native API. Maybe the next generation will learn from our mistakes.
Re: Windows 1.0 and the WinAPI, 40 Years Later
#16> That was probably the most surprising part of the entire experiment: internally, Windows has changed enormously over the decades, yet the application interface has stayed so stable that code written in the mid-1980s still looks completely familiar. Imagine if Linux stuck to that same level of interface compatibility. Think of the thousands of man-hours lost to rewriting perfectly good code just chasing the new shin…
Re: Windows 1.0 and the WinAPI, 40 Years Later
#17Earlier quoted context omitted.
> I had never run into compatibility issues with programs or games built for older Windows version Try running a real-mode Windows program on a modern version of Windows.
You just need to install 86Box as a compatibility layer. Everything runs perfectly. You only have to copy-paste one .exe file and then you can launch your app from Windows, that’s it. Sounds perfectly reasonable.
Re: Windows 1.0 and the WinAPI, 40 Years Later
#18An M6 nut from then will fit a bolt made today, and vice versa.
Compatibility over a long time period isn't hard to achieve. Simply don't mess with the standard - don't break what doesn't need fixing.
Re: Windows 1.0 and the WinAPI, 40 Years Later
#19This article has the bones of something interesting, but the style is too barren and the content really needs to be fleshed out more. I feel like if a human had written it, they would have thought of more to write. Like a human wouldn't be content with two paragraph section about K&R C without actually writing about difficulties encountered with this, parts that were interesting to implement and parts that weren't, e…
In other words, different people sometimes want different things...