logoalt Hacker News

XNU Linux: Full OS X GUI Userspace on Linux

139 points • by mmastrac • today at 3:49 AM • 63 comments • view on HN

Comments

pcwalton • today at 5:14 AM

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.

➕ show 1 reply
darksim905 • today at 5:37 AM

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)

pluto_modadic • today at 6:41 AM

so I can run X GUI inside my Asahi on my macbook air?

nice.

zakisaad • today at 5:05 AM

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.

bradfitz • today at 5:33 AM

But can I run more than two macOS guest VMs at the same time? :)

jsomedon • today at 4:49 AM

so this means, I can run something like asahi linux on macbook but I can also access macos desktop environment semi-natively?

➕ show 1 reply
boredatoms • today at 5:47 AM

Oh I hope someone tries this on a dgx spark

➕ show 1 reply
hn_submit • today at 5:30 AM

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.

pmkary • today at 5:48 AM

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...

johng • today at 4:31 AM

This is awesome.

natas • today at 4:41 AM

I'm afraid that, unfortunately, Apple may not like this.

➕ show 2 replies
jauntywundrkind • today at 5:13 AM

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).

probablyStimmed • today at 4:45 AM

Cool, but why?

➕ show 4 replies
speakspokespok • today at 6:31 AM

[dead]

Nezk • today at 4:51 AM

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)

➕ show 1 reply