Top
Best
New

Posted by mmastrac 6 hours ago

XNU Linux: Full OS X GUI Userspace on Linux(github.com)
310 points | 147 commentspage 3
pluto_modadic 3 hours ago|
so I can run X GUI inside my Asahi on my macbook air?

nice.

probablyStimmed 5 hours ago||
Cool, but why?
ekunazanu 5 hours ago||
Because it's cool
steve1977 1 hour ago||
Is it still cool if Claude did it though?
theodric 27 minutes ago||
1., Claude didn't do it, a guy had an idea, and then (using Claude) did it.

2., the fact that it exists is cool. The tooling is a footnote.

<----- downvote arrow is over there

steve1977 4 minutes ago|||
I'm not downvoting just because I disagree.

I DO disagree though. For me, that's like saying "I felt like watching a sci-fi movie, so I selected something on Disney+. Hey look, I made Star Wars".

encom 12 minutes ago|||
So Claude did it, gotcha. Thanks for clearing it up.
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 5 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 4 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 5 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:

https://www.storminthecastle.com/posts/chestnut_5090/

bigyabai 4 hours ago||
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 4 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 2 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.
jauntywundrkind 5 hours ago||
also NextBSD is back! https://www.nextbsd.org/ https://hn.algolia.com/?q=nextbsd

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 5 hours ago||
Sounds like it's based on open source code they released. Also they never went after any Hackintosh hobbyists, only resellers.
OberstKrueger 5 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 4 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 5 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 3 hours ago||
This whole thing is running on Apple hardware. It says that in the article.
viraptor 49 minutes ago||
Right now it does. We live in crazy times though - I don't expect it to be that limited for long. (If it actually is limited)
matthewfcarlson 5 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.
cheesecakegood 52 minutes ago||
Yet another major project with an AI-written readme. Bad look
chao86825 36 minutes ago||
[dead]
MichaelTestGrid 1 hour 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 4 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 5 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 4 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.

[1] https://gpages.juszkiewicz.com.pl/arm-socs-table/arm-socs.ht...

saagarjha 4 hours ago|||
Most modern ARM processors support PAC
More comments...