News for hackers. Stuff that matters.
Re:Use OpenGL to get more RAM by ryandrake on Sunday April 24, 2016 @11:15AM (#11559916)
> Unfortunately, they couldn't turn it on universally; there were a lot of programs that "knew" that malloc() would never return a pointer with the top bit set, so they used it as a flag for their own purposes. Such programs would break horribly in 3GB mode when pointers could have the top bit set.

Fascinating story. Never knew this. This dedication to backwards-compatibility is something Microsoft was known for. Reminds me of how they took great care when writing Windows to ensure perfect compatibility with old, horrible DOS programs, going so far as re-creating DOS bugs that these broken programs relied on. I suppose they were just accepting reality: if a user upgraded to Windows and some third party program broke, the user would blame Microsoft, not the incompetent application developer.

Re:Use OpenGL to get more RAM by adrusi on Sunday April 24, 2016 @11:56AM (#11560073)
Both Windows and Linux are distinguished for their pathological conviction to never break userspace. Linux has its warts because of this, but since it's 10 years younger than DOS and since, as a Unix kernel, it was always very clear what the kernel should and should not do, it doesn't have quite the trail of hacks seen in Windows.

Windows has broken legacy programs though. In Windows 7 a lot of old programs stopped working in the consumer editions of the OS. I don't know if they've continued making their "professional" editions that provide comparability. I suppose that's a reasonable strategy to encourage developers to update their software without killing user productivity, which could workout for the best in the long run.

Re:Use OpenGL to get more RAM by digi_owl on Sunday April 24, 2016 @08:55PM (#11562018)
Linux the kernel yes. but Linux user space is notoriously against dealing with backwards compatibility.

As for Windows, best i can tell the problem was Win16 on 64-bit Windows. My father ran into that regarding some old solitaire programs he had been keeping around.

Re:Use OpenGL to get more RAM by cyphar on Monday April 25, 2016 @11:33PM (#11569255)
Nit: There's no such thing as the "Linux userspace". The GNU/Linux userspace is a collection of many different pieces of software (including the GNU tooling and all of the FreeDesktop stuff).
Re:Use OpenGL to get more RAM by digi_owl on Tuesday April 26, 2016 @03:24PM (#11574780)
Yes, but outside of the kernel, and maybe the GNU tools, there seems to be very little willingness to entertain the need for backwards compatibility.
Re:Use OpenGL to get more RAM by cyphar on Tuesday April 26, 2016 @07:22PM (#11576576)
My issue was with the term "Linux userspace". I agree with the sentiment that many components of a modern GNU/Linux system don't seem to like the idea of backwards compatibility.