PureDarwin (@puredarwin) header
PureDarwin (@puredarwin) profile picture
The World
Joined July 2009
Photo by PureDarwin (@puredarwin)Photo by PureDarwin (@puredarwin)Photo by PureDarwin (@puredarwin)Photo by PureDarwin (@puredarwin)Photo by PureDarwin (@puredarwin)Photo by PureDarwin (@puredarwin)Photo by PureDarwin (@puredarwin)Photo by PureDarwin (@puredarwin)Photo by PureDarwin (@puredarwin)Photo by PureDarwin (@puredarwin)
kido's guest is PureDarwin, glad to see it used.
Introducing kido, a sub-second macOS micro-VM runtime that lets you run unmodified arm64 Darwin binaries like everyday containers, on both Apple Silicon and ARMv8.2+ Linux!! ~30 MB base image. Isolated kernel per container. Open source Already running on Apple Silicon and RK3588 KVM hosts. More features dropping tomorrow👀 kido.sh
2
6
79
1,965
metal works too
1
3
60
2,100
why run the full XNU kernel when you can write a fairly simple runtime, and replace libsystem_kernel? (thanks to Liam over at Aurora Silicon for providing a Claude sub, the Mach IPC and some runtime are LLM) macOS binaries on x64 Linux, ARM64 soon, then OSS shell cased issues.
13
11
1
244
8,190
and for those uncertain, I ran out of characters to finish explaining this. just the Mach-O runtime is partly LLM written. it still just uses PureDarwin's daemons behind the scenes, which means launchd and whatnot.
1
15
671
machd, is how Mach IPC is handled. it's a custom daemon which basically turns things into Unix sockets in a deeply cursed manner. this is what the LLM wrote in its entirety. I plan on eventually redesigning this, in a manner which I can implement it by hand.
10
596
cursed as all hell. lol
16
1,204
that sucked. x64/x86 Windows apps on ARM64 via FEX was much more annoying than expected, ngl.
8
10
2
266
14,250
boo, it's everyone's favorite platform.
3
1
99
2,824
sandbox results in no rendering, so that needs work. but hey, here's example.com
2
50
1,176
so that works, partly. still a WIP. Discord still crashes once it launches the main window
4
64
2,101
finally took the time to unfuck this. working through all the fun apps latest firefox working off the macOS binary. of course, I'll fix fonts, just finally working through regressions when I merged all my worktrees locally.
7
8
144
3,332
if anyone's wondered how the hell hardware support is so good, here's how. :)
9
9
1
107
2,510
working through the 'shit I forgot this was a major accomplishment' catalog GCN 1/2 works on PureDarwin. uhh, a single GTX 1660 that someone else tested works. I've already announced my 7800 XT, but a 7900 XTX works. all of i915 up to my 11700K works and I've fixed that.
2
22
953
more news: we've had core audio for a while, I just never announced it. Metal fully works with good perf (80 FPS on MoltenVK in Minecraft), minor rendering bugs that's still a WIP APFS, with good performance. read/write. oh and NVIDIA's 580 branch. WIP (CUDA works)
3
68
1,544
oh I never showed this publicly. this is what the CI suite uses for checking. AppKit ported to WASM with WebGL. objc and all (CoreFoundation already supports this) I was working on Metal originally before getting distracted
2
7
98
3,221
I've worked on PureDarwin for the last 3 years, and I've poured my soul into this project. If you want to support me, github.com/sponsors/Vali0004 If you don't, impact.ccalliance.org/give/2… I'm a college student so I can't justify things, your money will go towards Apple Silicon support.
3
8
1
97
2,457
I don't mind forks of PD, but I do mind people repackaging existing work and presenting it as something new. M1 support, audio, Wayland, and unmodified macOS apps were already implemented in PD. I spent months on this stuff. the existing work deserves clearer attribution.
8
23
1
218
6,154
I would've happily accepted PRs to allow for renaming as a distro, as well as PRs to add support for Apple-specific apps. The only reason I don't do binary compat is because I don't want to force myself to Apple's constraints and internal behaviors, not because it's impossible.
1
15
524
for reference, I had unmodified macOS Firefox running on October 15, and have been working on the M1 platform for months bts there's nothing wrong with building on existing work, but please distinguish what you've actually done from what you've inherited. that's all I'm asking.
3
38
664