486 points · by yarapavan · 6y ago · 130 comments
Everything from thunking layers to calling conventions to inline assembly in the Wine codebase had to be redesigned for this release of Wine; an absolutely massive proposition. Ideas such as dynamic binary translation and running Win32 executables in the MacOS hypervisor framework were considered, and some ideas I tried while hacking Wine gave me insight into other projects I hack on such as Qemu and LLVM.
In short; props to everyone who worked on this! It was a long time in the process!
I've got their OSX version as well. There was a day where I needed Visio at work, and that would let me launch a Windows bottle. Funny enough, it also ran quite a few steam games... back before there were solid OSX ports for what I'd play.
The original storage media may be corrupted but the software lives!
My personal belief is Wine will stand next and maybe above the GNU project, the Linux kernel, the QEMU emulator and the GIT version management as the best things ever made by free software.
They're pretty great, and do a great job showing off the many platforms it can emulate, in a way that feels and rewards like a treasure hunt.
Interesting, why was this discarded? Performance reasons? Or the API not being satisfactory?
The oldest programs I can use reliably are win32 inside wine.
It may not be what you think is technically the best, but office 2007 works well and many games and other specialized too. The office license is cheap and does most of what I need.
Someone mentionned below, a perpetual license of Mathematica for MacOSX will be useless in a year, because of the deprecation. Their mistake was not buying the Windows version.
That's why I still buy win32 software to this day. Their binaries will work on anything for a long time.
But? Those are both extremely capable communication mechanisms.
Although coding over voice/video chat isn’t fun.
This is quite curious. Apple inconvenienced so many users by "removing" 32-bit support on Catalina, and then they added support for local descriptor tables? I'm not aware of any use of LDTs on modern systems (except perhaps Chrome for additional sandboxing).
For the specific purpose of enabling CrossOver's 32-on-64 support and things like it.
It's not too hard for the kernel to support user code merely entering the processor's 32-bit mode. CrossOver's processes don't even use 32-bit system calls or 32-bit Mach-O binaries, so support for those could hypothetically be removed, except that most of it is needed for watchOS anyway. But the most significant cost of i386 support was in userland, not the kernel: building separate x86_64 and i386 copies of every system library, and supporting the legacy i386 ABI, including an older version of the Objective-C runtime ABI. That's all gone now.
eg. Maybe draw the boundary of where you thunk at a different place. Maybe do more translation in user mode as this wine project did. Or focus on binary compatibility with old, frozen-in-time frameworks instead of rebuilding them with every OS build. Obviously the specifics will vary with actual details of breakage. But from outside, it seems like these type of questions weren't pursued to their maximum extent, resulting in pain for the end user.
The obvious hardware reason on iOS is that Apple can remove support for ARM32.
The obvious business reason is to encourage subscriptions to Apple Arcade.
Section "Why Drop 32 Bit?" (last quarter of the article).
This is business, nothing else. Just like all the increased "security" restrictions. Corralling everyone towards the App Store. I think they've got too much legacy to ever totally cut off "regular" applications, but apart from that they're doing everything they can to move everything in the direction of iOS (or iPadOS now).
Not sure how long the days of the last commercial Unix will last.
The Classic Environment (OS 9 -> OS X) was dropped after 6 years.
Rosetta (PPC -> i386) was dropped after 5 years.
i386 -> x86_64 is now being dropped after 12 years.
Running 32 bit apps in Mac OS X Mojave is 100% seamless to the user—if it wasn't for Apple's warning dialogues that 32bit was going to be deprecated, most users—even advanced users—would never even know the app was 32 bit.
And that's because 32 bit support is a key feature of the amd64 architecture—it's the main reason most computers today use amd64 instead of the alternate standard proposed by Intel.
Killing it in what way? They kept compatibility for years and eventually ended it, just like the transitions you mention.
This is business, nothing else
Both the security changes and dropping 32 bits are technically reasonable things to do. You might not like them and that's perhaps not entirely unreasonable either but the notion that they were done for business, nothing else makes little sense. What business do you have in mind? Apple makes money selling iPhones.
That's entirely the case. Apple has to weigh the cost of maintaining compatibility against the value it brings.
And it's hard to see how if the developer can't make a business case for updating their software that Apple can make a business case for maintaining compatibility.
That's the business reality of Apple's primarily consumer market: consumers are generally willing to let old software go and buy new stuff.
Microsoft is simply in a different market: they have many large enterprise customers who are willing to pay top dollar for extensive backwards compatibility.
I'm pretty sure Apple licensed that for some version of System 7 (maybe 7.5.something?) so that they could assume all post-boot 32-bit macs were 32-bit clean.
I think you meant “thunk”.
It's apparently straightforward to install - an old - macOS in a VM. This can then be used to obtain the dylibs
It’s like removing the floppy drive, there will be a bunch of people complaining (probably the 1%) who still use it but in the end everyone is better of without it and it will be replaced by something better.
Almost nobody of the general users would know a difference between 32 / 64 bit as they just use new apps or use web apps. It’s a very small group that’s affected by this change.
Take Mathematica for example. The first 64-bit version is 12.0, released April 2019. So a year-old permanent v11 license is useless on Catalina now. It would have cost me a couple hundred bucks to upgrade my v9 permanent license if I didn't happen to have an institutional license.
There is very little important software outside of iOS development software that is Mac only. People who care about backwards compatibility would never buy Macs.
How was this never brought up during all the "Catalina killed 32-bit" pitchforkings? Seems like a very important point, that has enabled the ability to emulate 32-bit apps.
> the big thing that Catalina provides that enables this all to work is the ability to create 32-bit code segments in a 64-bit process. For that, they enabled the use of i386_set_ldt() in 64-bit processes. The big caveat though, is that this functionality is restricted by System Integrity Protection (SIP). For now, your best bet to get this working for yourself is to disable SIP. (CrossOver doesn't require that, but the mechanism by which we accomplish that is in flux internally to Apple. When it settles down, I'll update this thread.)
The entitlement needed for this feature to work is undocumented.
See here: https://developer.apple.com/documentation/bundleresources/en...
Is this roughly equivalent to MAP_32BIT on Linux?
I wonder what other projects (on a scale larger than your typical side hustle projects) are coordinated via IM chat or email?
On the surface, the Linux kernel coordination seems to be coordinated like this, but I am not 100% sure.
Seeing that both slack and discord save logs from the beginning (which irc doesn’t), isn’t communication less hidden if anything? It’s far easier for someone new to play catch up.
There’s a reason large open source projects moved to these (React, Rust, etc).
In Slack the logs are also not searchable if you above a certain threshold (10k lines or something) if you don’t pay. Slack is prohibitively expensive if you have a lot of users and not really made for such a non-company use case.
Not everyone uses IRC (but it has archives). Email (and its archives) are a thing, too.
Given you can read all the development of the Linux kernel since almost the beginning (and they don't use chat IIRC), I don't think you are correct.
> There’s a reason large open source projects moved to these (React, Rust, etc).
No, there is no reason. They are newer projects with younger people and they just picked something more modern, based on a web browser.
If there was truly a reason, the kernel and other projects would have moved, too.
You can argue, of course, the pros and cons of each alternative.
Open source projects are likely the largest user of mailing lists.