MacOS, like Windows and unlike Linux, doesn't have a stable syscall interface. apps are instead required to dynamically link with libraries shipped with your system, which change in lockstep with the syscalls.
This would make it possible to run the MacOS userspace on top of actual Linux, with little to no work in the kernel.
I think that would be a more interesting effort to pursue.
mike_hearn 5 minutes ago [-]
That's the Darling project.
gen2brain 1 hours ago [-]
Nice, I like this, though, it still needs Apple hardware. I think I would prefer if someone was to improve GNUstep instead. I always knew that in theory it implements the same APIs, etc. but, in my IUP fork, I managed to have the same Cocoa driver/backend compile for macOS and for the GNUstep on Linux/BSD. The driver is a little polluted with ifdefs for APIs that are not implemented though, and needs some patches, but I think it was still worth it.
With the nice modern theme like Rik, you can have global menu like in macOS, and it looks much nicer than default theme. Improve theme, improve GNUstep and there you have it. You can check the GNUstep sample screenshot at https://github.com/gen2brain/iup-go .
Off topic but I've always wondered why Apple ships XNU/Darwin as open source. As far as I know, there's no real usage of it outside of the "hobby" space and I don't think the license requires it to be open source. Any ideas as to why Apple continues to do it to this day?
mike_hearn 52 seconds ago [-]
It's not open source, really. Not anymore. A lot of the newer code added since the first versions of macOS is proprietary. A lot of the code signing and security subsystem is closed source, the APFS file system is too, most of the drivers are etc.
As for why a few parts remain open, it's probably just inertia. When OS X was new the open source/free software movement was at the peak of its hype cycle, many treated it as a locked in future, sort of how people talk about AI today. Kernel engineers in general were always pretty pro-open source, much moreso than GUI layer developers, and Linux was already available and growing fast. People believed that desktop Linux could be a competitive platform back then.
So as XNU was built on open source components like FreeBSD and Mach, I guess there was some internal fights between pro- and anti- open source camps. Jobs or someone else resolved it by saying it was OK to open source the low value / generic parts like the UNIX parts, but not the higher value userspace where macOS historically had competitive advantage. Then as the years passed this became just the way things are done, and nobody revisited it.
rickdeckard 5 minutes ago [-]
Well, it is based on open source work like the Mach microkernel and parts of BSD. Not sure how easy it would be to make it closed-source now.
From what I remember, the original idea was to keep it open source so the community would take part in the review of UNIX-compliance, as an external party to ensure that Apple doesn't accidentally drift away too much.
But yeah, since it barely has any use outside of Apple products, I doubt that there is much power in the community to actually influence it...
pcwalton 4 hours ago [-]
Makes me wonder if the next frontier is going to be something like “the OS is shipped encrypted with keys that only exist in hardware, and all the CPU knows how to do is to decrypt blocks and put them in the i-cache where it will not let you look at them”, to prevent you from doing anything with the OS executables other than running them on Apple chips.
Aurornis 3 hours ago [-]
I think you might be surprised to learn how much of this came from open source code:
> xnulinux builds XNU, the open-source kernel of macOS, from Apple's published sources
My understanding was that the keys are not copyrighted, providing them is circumventing technical protection measures.
And to my understanding that is what your link says as well.
bedstefar 2 hours ago [-]
I wonder what the future of trade agreements between US/EU will hold. Historically it's the trade agreements that makes DMCA-like regulations even enforceable in the EU. Now, with the US pull from alliances generally, will that make EU more of a safe haven for common sense, like recognizing the insanity in enforcing copyright on a number?
anal_reactor 52 minutes ago [-]
As long as US is the centre of commerce, US will dictate the conditions. EU doesn't seem to be anywhere ready to take over that role.
monegator 2 hours ago [-]
how do you copyright a random number?
chii 2 hours ago [-]
it's not any random number, it's a particular one that is copyrighted.
tgma 14 minutes ago [-]
I believe this misstates how the enforcement mechanism operates. Distributing a secret key isn't banned on the basis of authorship under copyright itself.
However, the DMCA makes it a potential civil or criminal offense to circumvent DRM, or distribute the means to do so, and that is how it gets enforced.
yjftsjthsd-h 2 hours ago [-]
Okay, but my non-lawyer understanding is that copyright specifically requires creativity from a human. If it's a random number, I would struggle to think that it qualifies.
tgma 10 minutes ago [-]
Your understanding is correct. The number itself is not copyrightable. DMCA prohibits "distributing/trafficking in the means to circumvent" DRM.
eecc 1 hours ago [-]
it's part of a mechanism.
You can read it aloud, use it to do math, even print it on a t-shirt.
You can't (legally) use it to decrypt their software.
oarsinsync 2 hours ago [-]
how do you copyright a secret?
monegator 1 hours ago [-]
obviously. i'm being naive on purpose. It's still retarded that it can be allowed
CGamesPlay 2 hours ago [-]
Watch out guys, eMudhra has the copyright on the number 4.
nout 1 hours ago [-]
If numbers become large enough, those can be copyrightable. E.g. numbers that take 4GB on disk and have .mkv extension.
amelius 1 hours ago [-]
But what if those numbers appear in the decimal expansion of pi?
tgma 2 minutes ago [-]
Everything appears in the decimal expansion of pi, the start index might be larger than the data itself.
drnick1 2 hours ago [-]
> Nintendo was able to DMCA takedown any repository (emulators) having them.
And yet, there are Nintendo emulators all over the Internet. In fact, I have several on this very computer!
drum55 4 hours ago [-]
It sort of has precedence as DSMOS.kext, though not as severe as that. It loaded this blob into memory.
Your karma check for today:
There once was was a user that whined
his existing OS was so blind,
he'd do better to pirate
an OS that ran great
but found his hardware declined.
Please don't steal Mac OS!
Really, that's way uncool.
(C) Apple Computer
That existed on the intel platform days and did some very loose pairing with the SMC chip to prevent you running it on anything else without modification.
m132 3 hours ago [-]
Those words sound rather ironic considering Apple's Containerization framework does just that, albeit "just legally enough", heh.
saagarjha 3 hours ago [-]
This is already done on some consoles. Unfortunately this is usually a nonstarter for other systems because it makes it impossible to debug code on them.
pjmlp 3 hours ago [-]
That is the end game for Windows hence the compulsory use of XBox's Pluton on modern systems.
Well, I was thinking you'd do it for all the .apps and the kernel/kexts, which you can just forbid debugging. But I guess you can't do much about all the code in the dyld shared cache which has to be debuggable, and that's a lot of the OS right there.
wwweston 1 hours ago [-]
Eh.
Apple doesn't sell the OS, they sell the integration of their hardware and the OS, and for a lot of the history that's what's been compelling (and in the last 5 years the hardware story has been especially compelling). They'll keep changing the hardware of course, and some of that will come with difficulties, but the kind of CPU obfuscation you're talking about sounds more like a performance hit and internal technical timesuck than a tempting control moat. They can just keep moving forward on the hardware with integration while doing their classic mix of cool feature points, worthy UX refinement, and hubristic messes and most of their market will keep buying even if projects like this one thrive among hobbyists.
darksim905 4 hours ago [-]
This is pretty cool that this could be done. the whole xnu.so drive file bit (I think?) ... could that same theory be applied to Windows? I know NTOSKRNL isn't quite the same, but could it be redesigned/recompiled/re-written to function and loaded as a module that way? I feel like on the newer Macs when I tried doing whatever the bootcamp functionality was, I learned quickly that didn't exist/was removed and I couldn't just boot/install Windows easily. With this AI tooling now, and functionality like this, could you bring that back on a Mac?
(And yes, derp, I realize this is Mac OS X GUI on Linux)
jasomill 3 hours ago [-]
As with Linux, running Windows on an Apple Silicon Mac without virtualization is mostly a matter of drivers.
You'd also need UEFI, but TianoCore exists, so again mostly drivers.
And unlike Linux, you'd need Microsoft to digitally sign drivers to run Windows outside Test Mode, which has the disadvantage of allowing all unsigned drivers, and I'm not sure if Microsoft would be unwilling to sign reverse-engineered drivers without Apple's approval, if at all.
flomo 2 hours ago [-]
Probably, but you don't have the source for ntoskrnl or shouldn't redistribute it.
wmf 3 hours ago [-]
Back in the day there was CoLinux that ran Linux and Windows at the same time.
relistan 2 hours ago [-]
This was only possible with macOS because the XNU kernel is open source.
anthk 51 minutes ago [-]
ReactOS and Wine.
mgaunard 17 minutes ago [-]
Do people actually like the macOS userspace?
QuantumNomad_ 15 minutes ago [-]
Yes.
richrichardsson 5 minutes ago [-]
Yes, although Apple seem to be trying their darnedest to change my mind on that.
If you presented this to me 4-5 years ago (and the method by which it was likely built), I would have been speechless. The fact that these kinds of projects have been normalised is frankly insane.
Nowadays with a skilled operator, there really are no bounds on what can be pulled off it seems.
pmkary 4 hours ago [-]
I came to write the same comment. I used to think that the dominance of U.S. is mostly because no other country has the capacity to develop operating systems and the world depends on a few OSes that are entirely developed there. Linux was never winning, windows was shit, but OS X and iOS, they were at one side undeniably high quality, and on the other side impossible to copy. So I always thought "How can China win over US without an operating system". Apple had made it such that all Hackintoish efforts were blocked for some many years, and iOS was impossible to boot anywhere but inside of an Apple device.
Fast forward to now, and I have an amazing app sitting on my computer called "Light Touch" that allows me to install and emulate any version of iOS on my computer, proxity its network, install whatever IPA app I wish on it, and I can't believe.
And this one, I thought you must be joking. Imagine all the decades long efforts by GNU to clone Objective-C, Foundation, Cocoa... and they still can't even run NeXTSTEP software on GNUStep and GWorkspace. Then you wake up and see not one of teh libraries, not the bare XNU, but the whole fucking mac being running inside of Linux... I mean What the literal fuck.
Mac had this god-like image in my head as something made by who knows how many tens of thousands of world's highest of highest engineers and designers. You could see that no app outside of the Apple entering its app store could have the quality of design and harmony that Apple's own apps had. (I mean imagine one app outside of Apple in the days of iOS 4 or Leopard to have that quality of icons for example), then Apple with Ive lowered the bar to entry and all the other apps cached up and most even got way better than Apple, but that was still a different era and a different game. But look at the past few years. Apple introduced Liquid Glass---which to me was a way to say "hey flat designers making cross-platfrom stuff in Figma, you no longer will be able, I want to introdue a UI component so complicated that you can't bring it to Android", but then a matter of days liquid glass was everywhere. Figma and Sketch easily added it to their components, Flutter had it, everyone had it... I made my own in an afternoon. The iPhone Duo animation was perhaps 50% of its selling point and by the night you could have it on samsung as well as on a Mac...
This is insane, and it must be really a stupid thing to say, but to me Apple was something of the Da Vinci of my era. I could see all people trying to get to its quality and looks and everything but no one could, they always were ten times ahead of anyone and it was exciting to be sitting waiting to see what new thing they're going to show in the WWDC. Now that godness is being killed for me, and it is painful to watch.
steve1977 17 minutes ago [-]
> Imagine all the decades long efforts by GNU to clone Objective-C, Foundation, Cocoa... and they still can't even run NeXTSTEP software on GNUStep and GWorkspace. Then you wake up and see not one of teh libraries, not the bare XNU, but the whole fucking mac being running inside of Linux... I mean What the literal fuck.
To be fair, this is comparing different things. The goal of GNUstep was/is to provide an open-source implementation of the OPENSTEP API. This is not what this project here is doing. It's taking the already open-source XNU kernel and gets it to run under Linux. It then takes your closed-source Apple-provided binaries and runs them on this XNU kernel.
darkwi11ow 30 minutes ago [-]
Few years ago I needed to use Apple Macs for work, and it was the worst experience I had in my career in regards to hardware and software. I get the power of advertising and why people keep using it, but practically Linux is miles ahead in every regard today. Linux already won, just the spread of information is uneven.
pjmlp 3 hours ago [-]
> I came to write the same comment. I used to think that the dominance of U.S. is mostly because no other country has the capacity to develop operating systems and the world depends on a few OSes that are entirely developed there
Before Windows took over, there were other systems developed outside US, especially during the cold war where getting American sponsored equipment wasn't a given.
ctmlr 1 hours ago [-]
> Linux was never winning
Linux was obviously going to win.
saagarjha 3 hours ago [-]
One thing that AI does not seem to be able to do yet is make these things before they are shown at WWDC.
anthk 49 minutes ago [-]
> and they still can't even run NeXTSTEP software on GNUStep and GWorkspace.
It ran, but the libre ones such as Chess and the like and since looooooooooooooong ago.
koiueo 3 hours ago [-]
> but OS X and iOS, they were at one side undeniably high quality
LOL
bigyabai 52 minutes ago [-]
So undeniably high quality and impossible to copy that macOS commands a minority market share in every segment it competes in.
You can practically see their competitors turning green with env- oh wait, that green color is actually money...
steve1977 15 minutes ago [-]
The market share of macOS is quite stable though and if anything, has been growing. And you could argue about the segments it actually competes in.
The market share of iOS is far from a minority share in many markets.
ajasmin 2 hours ago [-]
I wonder how this would compare to making XNU work in KVM.
This is amazing! Though, from a user perspective it currently feels a lot like a VM. Delegating one task per core plus one big file-backed disk for the XNU kernel to run with.
Though there may be efficiency or integration benefits that I'm missing.
bni 49 minutes ago [-]
Didn't someone do this with Windows back in the day?
jsomedon 5 hours ago [-]
so this means, I can run something like asahi linux on macbook but I can also access macos desktop environment semi-natively?
ZiiS 3 hours ago [-]
Not yet, the page size and GPU are tied to using it in a VM at the moment.
OsrsNeedsf2P 4 hours ago [-]
In the pre-AI days, I was in Ubucon Korea and met a highschool student who had done exactly that, but it was with a custom MacOS GNOME theme instead
viraptor 3 hours ago [-]
That makes it "exactly not that"
msdz 2 hours ago [-]
Oh cool, so they could run e.g. macOS’ Safari as well, right?!
harrouet 2 hours ago [-]
This is actually something I would expect Apple to support natively, at least in XCode:
- let the AI spawn a MacOS/iOS VM
- load your app code in there for automated tests
tim-- 1 hours ago [-]
Apple does support spawning macos virtual machines. If you are running MacOS, on Apple hardware.
boredatoms 4 hours ago [-]
Oh I hope someone tries this on a dgx spark
valleyer 3 hours ago [-]
This project loads the (lightly modified) actual macOS kernel into memory (as a sort of co-kernel with Linux), so it would almost certainly not work on any hardware the original kernel doesn't run on.
tim-- 1 hours ago [-]
I'd love to see if these NVidia and AMD drivers can easily be ported to ARM MacOS. The AMD graphics support that is (was) on MacOS Intel is no existant on the ARM builds.
Luckily, people have already coded versions for Intel macs, so it shouldn't be exceptionally hard I would assume to point an LLM to them.
EDIT: There is a MacOS driver for Apple Silicon for Thunderbolt AMD CARDS, but it only works for ROCm. Can't be too hard to port in the RedNavi stuff, as long as all the Metal drivers exist? https://github.com/lemonade-sdk/mac_linuxgpu
saagarjha 3 hours ago [-]
Why wouldn't it work? It's running the vmapple kernel
valleyer 3 hours ago [-]
Doesn't that rely on architectural extensions though? Or does this project trap and emulate them?
saagarjha 3 hours ago [-]
There's not that much you need for the virtual kernel to boot
valleyer 2 hours ago [-]
OK, thanks for the correction.
therein 2 hours ago [-]
Project itself says it needs to be running on an arm64 CPU with PAC and then says basically Apple Silicon only.
boredatoms 3 hours ago [-]
Isnt it using the device drivers from linux though?
so I can run X GUI inside my Asahi on my macbook air?
nice.
pmkary 4 hours ago [-]
This is beyond irony and mind blowing, I'm literally shocked and speachless. But you know the funniest thing is that XNU itself is designed to emulate Open BSD on a Mach kernel :))) this is Incepetion taken too deeply...
xp84 2 hours ago [-]
Run a Mac... inside Linux... inside a Mac. Well done, guys. I'm going to try to run a Linux VM inside the inner Mac.
qalmakka 1 hours ago [-]
Next step is, find a way to run multiple XNU containers and finally allow people to run more than two images without filling a warehouse with idle Mac Minis :)
hn_submit 4 hours ago [-]
Has anyone run XCode on this and built iOS apps with it? I just purchased a Macbook Air just so I could make iPhone apps, but with this distro I could've saved myself the $1500.
steve1977 13 minutes ago [-]
This is running inside a VM on a Mac computer (and it can only run in a VM on a Mac computer). This won't save you anything.
ddtaylor 4 hours ago [-]
Next.js with Capacitor can ease some of that pain and then a cheap mac mini or rent in the cloud to publish.
bigfatkitten 4 hours ago [-]
You would need Apple hardware to run this anyway.
eptcyka 1 hours ago [-]
Apple can ban your account for attempting to use the tooling and online services they want you to use to publish apps if you use them on non-apple hardware. We would like to have the build process of an app run in a fully reproducible VM, so far that is feasible on Linux, not so much macOS. And yet, to do signing and uploading, we would still need macOS.
notpushkin 3 hours ago [-]
For now; I think with a few drivers it could be a viable way to run an Arm Hackintosh.
wmf 3 hours ago [-]
Somebody is already hackintoshing on Qualcomm CPUs without Linux.
saagarjha 3 hours ago [-]
No?
bartvk 3 hours ago [-]
They buried the lede a bit: "Working, on an Apple Silicon Mac running an arm64 Linux VM (krunkit)".
saagarjha 3 hours ago [-]
I don't see anything that would make this infeasible to run elsewhere
steve1977 12 minutes ago [-]
For one, you need the Apple binaries of all the UI stuff. Technically, you could copy them from somewhere of course, but legally you can't. So there would be no way to provide such a thing in any legal way.
saagarjha 1 minutes ago [-]
I mean this is all probably reverse engineered or whatever so I doubt it is strictly legal regardless
qalmakka 2 hours ago [-]
AFAIK Apple doesn't use just AArch64; they have their own extra extensions which you can't easily replicate
bradfitz 4 hours ago [-]
But can I run more than two macOS guest VMs at the same time? :)
egorfine 4 minutes ago [-]
Stock macOS can do that. Albeit you will have to turn off SIP and do some googling.
probablyStimmed 5 hours ago [-]
Cool, but why?
ekunazanu 5 hours ago [-]
Because it's cool
steve1977 12 minutes ago [-]
Is it still cool if Claude did it though?
asveikau 5 hours ago [-]
Cross platform development would be one of the best reasons I can think of. Build and test Mac or iOS software on a Linux host.
But I think it breaks some Apple EULAs, so using it in a work capacity might get you in some trouble.
guax 4 hours ago [-]
Because it is there
runtime_terror 5 hours ago [-]
Because, gasp, some people like the MacOS aesthetic
II2II 4 hours ago [-]
If that's that reason, then buy a Mac.
I can understand people wanting to do this sort of thing for the technical challenge, but macOS is commercial software and it is tied to Apple hardware. If you want something without those strings, there is a whole world of open source software. You don't get the aesthetic, but at least you get to use the software on the hardware of your choosing.
EDIT: it looks like you need Apple hardware to use this anyhow.
dofm 4 hours ago [-]
> it looks like you need Apple hardware to use this anyhow.
Yeah — perhaps the benefit here is for Asahi users?
notpushkin 3 hours ago [-]
Once it can run Mac apps alongside Linux GUI userspace it would be amazing. (https://www.darlinghq.org/ has this goal, but it’s not there yet.)
bigyabai 4 hours ago [-]
But macOS has several arbitrary limitations that Linux and Linux-compatible hardware doesn't. Apple has dug this grave for themselves by removing dGPU/eGPU support, refusing to implement Vulkan, and not signing CUDA drivers.
As long as Apple makes boneheaded decisions like that, people will go to boneheaded lengths to work around it.
dofm 4 hours ago [-]
eGPU support is possibly back for LLMs, actually — Apple appear to be OK with this in principle, and notarised a driver back in April:
tinygrad is not "eGPU support" outside of a few minimal functions running in userspace. The vast majority of the eGPU features you might expect (eg. Metal support, CUDA runtime, hardware-accelerated encode/decode) is not working and will likely never be implemented.
We've all seen this hack by now, and it's not anywhere close to what eGPUs can do on Windows or Linux. Apple's objection is wholly arbitrary.
rvz 3 hours ago [-]
Programmers won’t buy a Mac themselves and they want their employer to do it for them, as they will say Apple hardware is too expensive.
So this is the latest episode in getting macOS on non-Apple and programmers will go to extreme lengths to avoid paying for anything.
That is why hackintosh exists
wasabinator 2 hours ago [-]
Not every programmer is working professionally as a programmer and has an employer-provided macbook.
johng 5 hours ago [-]
This is awesome.
WesolyKubeczek 1 hours ago [-]
Isn’t this like Mac on Linux back in the PowerPC days (but it would boot MacOS Classic)? Or coLinux, but the other way around.
a freebsd built around mach, launchd, and xpc maybe still gcd. afaik not xnu though (i should look).
natas 5 hours ago [-]
I'm afraid that, unfortunately, Apple may not like this.
flomo 4 hours ago [-]
Sounds like it's based on open source code they released. Also they never went after any Hackintosh hobbyists, only resellers.
OberstKrueger 4 hours ago [-]
The only Apple code it's referencing based on the README is xnu. The rest is community projects, and what it can pull from a live macOS install.
flomo 3 hours ago [-]
And they state running Apple XNU under Linux is the main trick here.
All that hackintosh stuff violated the EULA, Apple just didn't care about DYI projects. Maybe they didn't want to be Bill Gates sending angry letters to hobbyists. I think they're not going to care if you get macOS running on your chromebook.
sneak 4 hours ago [-]
Why not? Historically Apple has been pretty uninterested in anything people do with the Apple hardware they purchased, just so long as they buy Apple hardware.
But separately, I don’t even think this breaks the EULA at a first pass. Maybe distributing patched AMFI files, but those can be changed to diffs one can self-apply if they aren’t already.
viraptor 3 hours ago [-]
Probably not interested in the kernel part, but the userspace apps from MacOS explicitly say you can't run them on non-apple hardware. If anyone tries to run an Xcode compile farm based on this, they could be poking the bear...
sneak 2 hours ago [-]
This whole thing is running on Apple hardware. It says that in the article.
matthewfcarlson 4 hours ago [-]
This project definitely requires an apple silicon host to work so that seems to align with previous Apple stances towards projects like this
viraptor 3 hours ago [-]
For this project right now, that's fine. But it's only a matter of time until the parts specific to Apple hardware rather than generic aarch64 start getting replaced in this or other projects.
ravivarmat 7 minutes ago [-]
[flagged]
MichaelTestGrid 46 minutes ago [-]
[flagged]
Nezk 5 hours ago [-]
Very cool, but I really wish it were OS X 10.9 instead of the hideous macOS 27 (for x86_64, of course, not ARM)
flomo 3 hours ago [-]
I have a friend who would build fixed-function video/audio hackintosh workstations. No updates. No web browsers. No chat programs. Do that on your phone. If the hardware is still alive, I'd bet these are still suitable-for-purpose.
matthewfcarlson 4 hours ago [-]
You’re just a few AI prompts away from exactly that if that’s what you wanted. This project requires a PAC system which currently is just apple silicon. X86_64 would open the doors to way more hardware
m132 3 hours ago [-]
PAC is a standard Armv8.3 extension and has been implemented in a lot of processors outside of the Apple ecosystem [1]. Lots of PAC instructions use HINT space encodings, which makes them NOPs on unsupported processors, and those that don't will just trap into the kernel, making it possible to simply skip or emulate them.
A great deal of AArch64 Linux distros already builds binary packages exclusively with PAC, and those continue to run on SoCs that lack support, like that of the Raspberry Pi.
This would make it possible to run the MacOS userspace on top of actual Linux, with little to no work in the kernel.
I think that would be a more interesting effort to pursue.
With the nice modern theme like Rik, you can have global menu like in macOS, and it looks much nicer than default theme. Improve theme, improve GNUstep and there you have it. You can check the GNUstep sample screenshot at https://github.com/gen2brain/iup-go .
As for why a few parts remain open, it's probably just inertia. When OS X was new the open source/free software movement was at the peak of its hype cycle, many treated it as a locked in future, sort of how people talk about AI today. Kernel engineers in general were always pretty pro-open source, much moreso than GUI layer developers, and Linux was already available and growing fast. People believed that desktop Linux could be a competitive platform back then.
So as XNU was built on open source components like FreeBSD and Mach, I guess there was some internal fights between pro- and anti- open source camps. Jobs or someone else resolved it by saying it was OK to open source the low value / generic parts like the UNIX parts, but not the higher value userspace where macOS historically had competitive advantage. Then as the years passed this became just the way things are done, and nobody revisited it.
From what I remember, the original idea was to keep it open source so the community would take part in the review of UNIX-compliance, as an external party to ensure that Apple doesn't accidentally drift away too much.
But yeah, since it barely has any use outside of Apple products, I doubt that there is much power in the community to actually influence it...
> xnulinux builds XNU, the open-source kernel of macOS, from Apple's published sources
EDIT: XNU sources, for those who are unaware that the XNU kernel is open source: https://github.com/apple-oss-distributions/xnu
The DMCA notice
https://github.com/github/dmca/blob/master/2026/08/2026-08-1...
My understanding was that the keys are not copyrighted, providing them is circumventing technical protection measures.
And to my understanding that is what your link says as well.
You can read it aloud, use it to do math, even print it on a t-shirt.
You can't (legally) use it to decrypt their software.
And yet, there are Nintendo emulators all over the Internet. In fact, I have several on this very computer!
https://learn.microsoft.com/en-us/windows/security/hardware-...
Windows Server 2028 shows where the road goes.
https://techcommunity.microsoft.com/blog/windowsservernewsan...
The windows server article is awful to read, clearly LLM generated
https://techcommunity.microsoft.com/blog/windows-itpro-blog/...
And before that, it was field tested for app development on Azure Sphere, and you certainly aren't running XBox games on the Sphere.
https://learn.microsoft.com/en-us/azure-sphere/product-overv...
But hey, the firmware is written in Rust!
Apple doesn't sell the OS, they sell the integration of their hardware and the OS, and for a lot of the history that's what's been compelling (and in the last 5 years the hardware story has been especially compelling). They'll keep changing the hardware of course, and some of that will come with difficulties, but the kind of CPU obfuscation you're talking about sounds more like a performance hit and internal technical timesuck than a tempting control moat. They can just keep moving forward on the hardware with integration while doing their classic mix of cool feature points, worthy UX refinement, and hubristic messes and most of their market will keep buying even if projects like this one thrive among hobbyists.
(And yes, derp, I realize this is Mac OS X GUI on Linux)
You'd also need UEFI, but TianoCore exists, so again mostly drivers.
And unlike Linux, you'd need Microsoft to digitally sign drivers to run Windows outside Test Mode, which has the disadvantage of allowing all unsigned drivers, and I'm not sure if Microsoft would be unwilling to sign reverse-engineered drivers without Apple's approval, if at all.
Nowadays with a skilled operator, there really are no bounds on what can be pulled off it seems.
Fast forward to now, and I have an amazing app sitting on my computer called "Light Touch" that allows me to install and emulate any version of iOS on my computer, proxity its network, install whatever IPA app I wish on it, and I can't believe.
And this one, I thought you must be joking. Imagine all the decades long efforts by GNU to clone Objective-C, Foundation, Cocoa... and they still can't even run NeXTSTEP software on GNUStep and GWorkspace. Then you wake up and see not one of teh libraries, not the bare XNU, but the whole fucking mac being running inside of Linux... I mean What the literal fuck.
Mac had this god-like image in my head as something made by who knows how many tens of thousands of world's highest of highest engineers and designers. You could see that no app outside of the Apple entering its app store could have the quality of design and harmony that Apple's own apps had. (I mean imagine one app outside of Apple in the days of iOS 4 or Leopard to have that quality of icons for example), then Apple with Ive lowered the bar to entry and all the other apps cached up and most even got way better than Apple, but that was still a different era and a different game. But look at the past few years. Apple introduced Liquid Glass---which to me was a way to say "hey flat designers making cross-platfrom stuff in Figma, you no longer will be able, I want to introdue a UI component so complicated that you can't bring it to Android", but then a matter of days liquid glass was everywhere. Figma and Sketch easily added it to their components, Flutter had it, everyone had it... I made my own in an afternoon. The iPhone Duo animation was perhaps 50% of its selling point and by the night you could have it on samsung as well as on a Mac...
This is insane, and it must be really a stupid thing to say, but to me Apple was something of the Da Vinci of my era. I could see all people trying to get to its quality and looks and everything but no one could, they always were ten times ahead of anyone and it was exciting to be sitting waiting to see what new thing they're going to show in the WWDC. Now that godness is being killed for me, and it is painful to watch.
To be fair, this is comparing different things. The goal of GNUstep was/is to provide an open-source implementation of the OPENSTEP API. This is not what this project here is doing. It's taking the already open-source XNU kernel and gets it to run under Linux. It then takes your closed-source Apple-provided binaries and runs them on this XNU kernel.
Before Windows took over, there were other systems developed outside US, especially during the cold war where getting American sponsored equipment wasn't a given.
Linux was obviously going to win.
It ran, but the libre ones such as Chess and the like and since looooooooooooooong ago.
LOL
You can practically see their competitors turning green with env- oh wait, that green color is actually money...
The market share of iOS is far from a minority share in many markets.
This is amazing! Though, from a user perspective it currently feels a lot like a VM. Delegating one task per core plus one big file-backed disk for the XNU kernel to run with.
Though there may be efficiency or integration benefits that I'm missing.
- let the AI spawn a MacOS/iOS VM
- load your app code in there for automated tests
Luckily, people have already coded versions for Intel macs, so it shouldn't be exceptionally hard I would assume to point an LLM to them.
AMD: https://github.com/leolivm/vermilion https://github.com/Helemen7/RedNavi
NVidia: https://github.com/nullmoth/nvidia-macos-driver
EDIT: There is a MacOS driver for Apple Silicon for Thunderbolt AMD CARDS, but it only works for ROCm. Can't be too hard to port in the RedNavi stuff, as long as all the Metal drivers exist? https://github.com/lemonade-sdk/mac_linuxgpu
nice.
But I think it breaks some Apple EULAs, so using it in a work capacity might get you in some trouble.
I can understand people wanting to do this sort of thing for the technical challenge, but macOS is commercial software and it is tied to Apple hardware. If you want something without those strings, there is a whole world of open source software. You don't get the aesthetic, but at least you get to use the software on the hardware of your choosing.
EDIT: it looks like you need Apple hardware to use this anyhow.
Yeah — perhaps the benefit here is for Asahi users?
As long as Apple makes boneheaded decisions like that, people will go to boneheaded lengths to work around it.
https://www.storminthecastle.com/posts/chestnut_5090/
We've all seen this hack by now, and it's not anywhere close to what eGPUs can do on Windows or Linux. Apple's objection is wholly arbitrary.
So this is the latest episode in getting macOS on non-Apple and programmers will go to extreme lengths to avoid paying for anything.
That is why hackintosh exists
a freebsd built around mach, launchd, and xpc maybe still gcd. afaik not xnu though (i should look).
All that hackintosh stuff violated the EULA, Apple just didn't care about DYI projects. Maybe they didn't want to be Bill Gates sending angry letters to hobbyists. I think they're not going to care if you get macOS running on your chromebook.
But separately, I don’t even think this breaks the EULA at a first pass. Maybe distributing patched AMFI files, but those can be changed to diffs one can self-apply if they aren’t already.
A great deal of AArch64 Linux distros already builds binary packages exclusively with PAC, and those continue to run on SoCs that lack support, like that of the Raspberry Pi.
[1] https://gpages.juszkiewicz.com.pl/arm-socs-table/arm-socs.ht...