Live data from Hacker News

Windows 11 will happily execute a binary compiled 30 years ago

twitter.com

31–40 of 424 posts

Re: Windows 11 will happily execute a binary compiled 30 years ago

#31

And that's why Microsoft will dominate corporate PC market for the foreseeable future.

Not really, the average user doesn't give a shit about backwards compatibility, they care about being able to create slideshows and send emails. Windows will dominate for the foreseeable future because of deals with manufacturers.

Re: Windows 11 will happily execute a binary compiled 30 years ago

#33
post #8

Earlier quoted context omitted.

That’s not a DOS app, it’s a Win32 console app. DOS apps (16-bit or 32-bit) or Win16 apps would not run natively.

Something that confuses me is that this states it's running a binary compiled 30years ago. How is this not 16bit? I'm aware of win32s, I used to run it but still it seems unlikely this is a win32 console app unless there's an incredibly unlikely set of circumstances behind this. Or perhaps it was simply recompiled after all despite what the Twitter post states?

9x wasn't the only Windows OS.

The path contains the phrase "ntbin". It was compiled for NT.

Re: Windows 11 will happily execute a binary compiled 30 years ago

#34

Earlier quoted context omitted.

Something that confuses me is that this states it's running a binary compiled 30years ago. How is this not 16bit? I'm aware of win32s, I used to run it but still it seems unlikely this is a win32 console app unless there's an incredibly unlikely set of circumstances behind this. Or perhaps it was simply recompiled after all despite what the Twitter post states?

In fact looking into this further the only thing windows 11 lacks is the ntvdm which allows some dos api calls. If your binary is straightforward and not tied to msdos which this is it's fine. So I think the idea that this is a 32bit windows console application is completely untrue. It's also intuitively untrue when you consider the age of the app being run here.

The fact that there is no Windows 11 version with NTVDM is why this must be a Win32 console app, assuming the poster is truthful. Windows NT 3.1 came out in 1993. This being in a directory called “ntbin” gives another hint.

Re: Windows 11 will happily execute a binary compiled 30 years ago

#35

See also https://www.joelonsoftware.com/2004/06/13/how-microsoft-lost... one of the developers of the hit game SimCity, who told me that there was a critical bug in his application: it used memory right after freeing it, a major no-no that happened to work OK on DOS but would not work under Windows where memory that is freed is likely to be snatched up by another running application right away. The testers on the Win…

This seems like an interesting vector for a virus.

These older games will all work in 640kb so the fix would likely just have been to fence off 640kb completely from other apps while SimCity was running.

Re: Windows 11 will happily execute a binary compiled 30 years ago

#36

See also https://www.joelonsoftware.com/2004/06/13/how-microsoft-lost... one of the developers of the hit game SimCity, who told me that there was a critical bug in his application: it used memory right after freeing it, a major no-no that happened to work OK on DOS but would not work under Windows where memory that is freed is likely to be snatched up by another running application right away. The testers on the Win…

Nice. OpenBSD does something similar, with the difference being that there are no exemptions for specific software—they expect developers to fix their broken programs.

Re: Windows 11 will happily execute a binary compiled 30 years ago

#38

Is it? Maybe insane in a bad way. Right click on windows desktop had what now 3 different menus that might show depending on what you want to do. Oh. And let’s not talk about how much of what you see just covers the stuff up from 1998. Still rendering the old stuff only to have a slightly larger menu render right on top of it.

You raise a valid point. Still, I'd rather be able to run software I need than not.

Re: Windows 11 will happily execute a binary compiled 30 years ago

#39

Is it? Maybe insane in a bad way. Right click on windows desktop had what now 3 different menus that might show depending on what you want to do. Oh. And let’s not talk about how much of what you see just covers the stuff up from 1998. Still rendering the old stuff only to have a slightly larger menu render right on top of it.

Agreed. I would say backwards compatibility at this point hinders development and it shows in windows when you're looking at 5 different UI's. I have a 4k monitor, and the installers all look blurry because they can't scale up. We can't even get decent looking icons that were created in the last decade.

Honestly, I think a barebones, absolute minimist windows OS would be something that interest a lot of technical users. You can only stack shit so high.

Re: Windows 11 will happily execute a binary compiled 30 years ago

#40
post #34

Earlier quoted context omitted.

In fact looking into this further the only thing windows 11 lacks is the ntvdm which allows some dos api calls. If your binary is straightforward and not tied to msdos which this is it's fine. So I think the idea that this is a 32bit windows console application is completely untrue. It's also intuitively untrue when you consider the age of the app being run here.

The fact that there is no Windows 11 version with NTVDM is why this must be a Win32 console app, assuming the poster is truthful. Windows NT 3.1 came out in 1993. This being in a directory called “ntbin” gives another hint.

I see that makes sense. I feel it's also a little misleading from the original post. An exceptionally specific binary from 1993 works but the implication here is that the compatibility is more than this.
Post reply on HN