Most active commenters
  • bigfatkitten(5)

←back to thread

305 points mooreds | 21 comments | | HN request time: 1.043s | source | bottom
Show context
Animats ◴[] No.42167811[source]
Because, when they did it right, in Windows NT 3.51, the users with legacy 16 bit applications screamed. There was a 16-bit DOS compatibility box, but it wasn't bug-compatible with DOS.

Microsoft underestimated the inertia of the applications market. NT 3.51 was fine if you used it as a pure 32-bit operating system. You could even configure it without DOS compatibility. Few did.

replies(3): >>42167845 #>>42168418 #>>42171920 #
Onavo ◴[] No.42167845[source]
Something the Unix world can certainly learn from.
replies(1): >>42168874 #
1. bigfatkitten ◴[] No.42168874[source]
Sun used to take binary compatibility very seriously. Solaris 8 (and perhaps later releases) still had a compatibility layer for SunOS 4.x binaries. Solaris 11 can still run Solaris 2.6 binaries.

Linux is another matter entirely, if your binaries run at all from one distribution release to the next you're doing well.

replies(3): >>42168999 #>>42172012 #>>42181685 #
2. ghssds ◴[] No.42168999[source]
Linux doesn't need binary compatibility as much as Windows, lot of source packages will compile right away with a vast array of different operating systems, typically excluding Windows but including Linux, and Linux is a few clicks away from running a fair number of MS-DOS and Windows applications, probably more than any single Windows version. Linux is king in compatibility.
replies(4): >>42169143 #>>42170100 #>>42170858 #>>42171744 #
3. bigfatkitten ◴[] No.42169143[source]
That doesn't help you at all when you don't have the source and even then, compiler changes break source compatibility all the time.
replies(1): >>42169623 #
4. Onavo ◴[] No.42169623{3}[source]
Not just Linux, Mac too (people forget that they run a certified BSD kernel).
replies(1): >>42189507 #
5. nikanj ◴[] No.42170100[source]
That's great when you're distributing your software for free and giving away the source code too, but it's a complete non-starter for commercial software.
replies(1): >>42171460 #
6. bigstrat2003 ◴[] No.42170858[source]
Linux needs binary compatibility every bit as much as Windows. Even among people who are nerdy enough to run Linux on the desktop, very few are interested in compiling software to make it work.
replies(1): >>42171854 #
7. cloudbonsai ◴[] No.42171460{3}[source]
This discussion feels a bit ancient to me.

Considering that desktop apps nowadays rely on web counterparts to be functional, most commerecial apps will stop running after some time, regardless of whether operating systems keep compatibility or not.

replies(2): >>42172036 #>>42178190 #
8. johannes1234321 ◴[] No.42171744[source]
Even if you get the source youbend up with incompatibilities. From compiler to libraries. (Especially when reaching GUI/Gnome etc.)

Systems like Solaris are a lot more restricted what sets of libraries they provide (not "package up everything in the world" as some linux distros) but what they provide they keep working. (I haven't touched an Solaris system in a long time, but assume they didn't start massive "innovation" since then)

9. hiatus ◴[] No.42171854{3}[source]
> Even among people who are nerdy enough to run Linux on the desktop, very few are interested in compiling software to make it work.

I would imagine most desktop linux users rely on maintainers to compile and distribute binaries for their particular flavor.

replies(2): >>42176152 #>>42176578 #
10. cmrdporcupine ◴[] No.42172012[source]
To be clear it is not binary formats themselves that change and cause incompatibility. ELF is ELF and hasn't appreciably changed. And it isn't even really kernel syscalls (though that isn't etched in stone, I don't get the impress it's changed that much). The problem is the libc or other shared libraries.

Seems like the way that this is "fixed" is by using containers. But it feels so...bloated.

replies(2): >>42173791 #>>42177496 #
11. robinsonb5 ◴[] No.42172036{4}[source]
Surely you've just outlined the very best reason to keep alive old applications that don't require a web counterpart!

Personally I want to keep GuitarPro 6 alive (There's no newer version for Linux because binary software distribution on Linux wasn't worth the trouble) and Quartus 13.1 (because I still write cores for a CycloneIII-based device and 13.1 is the last version to support that chip.)

12. bitwize ◴[] No.42173791[source]
The solution that Windows provides for the problem -- WinSxS -- is, ultimately, no less bloated.
replies(1): >>42189518 #
13. Suppafly ◴[] No.42176152{4}[source]
>I would imagine most desktop linux users rely on maintainers to compile and distribute binaries for their particular flavor.

Which is less ideal than just having general binaries that work.

14. bigfatkitten ◴[] No.42176578{4}[source]
I maintain a package for which the upstream source hasn't changed in about 23 years. I still need to intervene once or twice a year because something else changes in the distro to cause that package to no longer build or run.
replies(1): >>42177742 #
15. bigfatkitten ◴[] No.42177496[source]
Same on Solaris. Maintaining userland compatibility was a large part of what Sun did.
16. EasyMark ◴[] No.42177742{5}[source]
As someone who still uses older software, thank you for your service! I still use Dia and xfig (because I’ve built up tons of “blocks” for them) and appreciate people donating their time to keep some ancient software going :)
17. bigfatkitten ◴[] No.42178190{4}[source]
Not every desktop app these days is an electron monstrosity. Especially not if it's a commercial app.
replies(1): >>42181773 #
18. account42 ◴[] No.42181685[source]
> Linux is another matter entirely, if your binaries run at all from one distribution release to the next you're doing well.

Linux binary compatibility is actually pretty good. As is glibc's an that of many other low level system libraries. The problem is only programs that depend on other random installed libraries that don't make any compatibility guarantees instead of shipping their own versions. That approach is also not going to lead to great future compatibility in Windows either. The only difference is that on Windows the base system labrary set is bigger while on Linux it is more limited to what you can't provide yourself.

19. account42 ◴[] No.42181773{5}[source]
IME Electron is more popular among commercial apps.
20. int_19h ◴[] No.42189507{4}[source]
Macs uses FreeBSD as the foundation for their base system, but the kernel itself is a Mach derivative.
21. int_19h ◴[] No.42189518{3}[source]
These days, Windows actually provides a single standard C runtime library in the OS with strong backwards compatibility guarantees, no WinSxS needed.