XNU Linux: Full OS X GUI Userspace on Linux
- gen2brain - 8709 sekunder sedanNice, 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 .
- miki123211 - 5382 sekunder sedanMacOS, 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.
- pcwalton - 19039 sekunder sedanMakes 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.
- angerman - 2075 sekunder sedanThis is amazing! I have something slightly similar, which was a lot of fun to build: https://hyper-linux.app (https://www.youtube.com/watch?v=EkP45l9COOY might explain it a bit better).
- darksim905 - 17646 sekunder sedanThis 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)
- gorbypark - 5077 sekunder sedanOff 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?
- mgaunard - 5220 sekunder sedanDo people actually like the macOS userspace?
- zakisaad - 19543 sekunder sedanIf 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.
- ajasmin - 12492 sekunder sedanI 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.
- opengears - 9456 sekunder sedanThese projects are already dissapearing again, see "Stela has been completely removed from GitHub" https://www.reddit.com/r/hackintosh/comments/1y322ns/stela_h...
- aa-jv - 1741 sekunder sedanHoly molies, does this mean I will be able to run my (self-developed) Mac apps on my Pinebook Pro?
The future is amazing, I'm so happy to be here.
- jsomedon - 20505 sekunder sedanso this means, I can run something like asahi linux on macbook but I can also access macos desktop environment semi-natively?
- boredatoms - 17058 sekunder sedanOh I hope someone tries this on a dgx spark
- bradfitz - 17865 sekunder sedanBut can I run more than two macOS guest VMs at the same time? :)
- harrouet - 10423 sekunder sedanThis 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
- bni - 7118 sekunder sedanDidn't someone do this with Windows back in the day?
- hn_submit - 18067 sekunder sedanHas 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 - 16977 sekunder sedanThis 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 - 10134 sekunder sedanRun 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 - 9361 sekunder sedanNext 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 :)
- pluto_modadic - 13817 sekunder sedanso I can run X GUI inside my Asahi on my macbook air?
nice.
- probablyStimmed - 20777 sekunder sedanCool, but why?
- johng - 21609 sekunder sedanThis is awesome.
- WesolyKubeczek - 9283 sekunder sedanIsn’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 - 19095 sekunder sedanalso 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 - 21008 sekunder sedanI'm afraid that, unfortunately, Apple may not like this.
- cheesecakegood - 3613 sekunder sedanYet another major project with an AI-written readme. Bad look
- staplehorse6553 - 1051 sekunder sedan[dead]
- chao86825 - 2647 sekunder sedan[dead]
- MichaelTestGrid - 6942 sekunder sedan[flagged]
- Nezk - 20393 sekunder sedanVery cool, but I really wish it were OS X 10.9 instead of the hideous macOS 27 (for x86_64, of course, not ARM)
- ravivarmat - 4611 sekunder sedan[flagged]
- speakspokespok - 14416 sekunder sedan[dead]
- zergrush - 4142 sekunder sedan[dead]
Nördnytt! 🤓