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 .
show comments
miki123211
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.
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 comments
darksim905
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)
show comments
gorbypark
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?
show comments
mgaunard
Do people actually like the macOS userspace?
show comments
aa-jv
Holy 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.
zakisaad
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.
show comments
ajasmin
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.
so this means, I can run something like asahi linux on macbook but I can also access macos desktop environment semi-natively?
show comments
bradfitz
But can I run more than two macOS guest VMs at the same time? :)
show comments
harrouet
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
show comments
bni
Didn't someone do this with Windows back in the day?
hn_submit
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.
show comments
pmkary
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
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
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 :)
pluto_modadic
so I can run X GUI inside my Asahi on my macbook air?
nice.
probablyStimmed
Cool, but why?
show comments
johng
This is awesome.
WesolyKubeczek
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.
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 .
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.
This 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).
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.
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)
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?
Do people actually like the macOS userspace?
Holy 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.
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.
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.
These projects are already dissapearing again, see "Stela has been completely removed from GitHub" https://www.reddit.com/r/hackintosh/comments/1y322ns/stela_h...
Oh I hope someone tries this on a dgx spark
so this means, I can run something like asahi linux on macbook but I can also access macos desktop environment semi-natively?
But can I run more than two macOS guest VMs at the same time? :)
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
Didn't someone do this with Windows back in the day?
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.
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...
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.
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 :)
so I can run X GUI inside my Asahi on my macbook air?
nice.
Cool, but why?
This is awesome.
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.
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).
I'm afraid that, unfortunately, Apple may not like this.
Yet another major project with an AI-written readme. Bad look
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)