A minimal kernel in Swift, running in QEMU
carette.xyz
carette.xyz
If you're starting from scratch I've found you can actually write ~everything in Swift quite easily (reset vectors, compiler emitted intrinsics, etc). But beyond that I think the best feature is that the C/C++ interop works really well and comes out of the box. Makes two-way adoption easy. I wrote a small boot firmware for a simulator and for fun decided to add signatures to the boot process (mldsa44+jq255). You can just copy the .c and .h files and import them into a modulemap file and you're off to the races. You can just get simple .o files and pass them to the linker. There are only 4-5 "freestanding" functions you have to implement. You can turn off heap allocation. Etc.
It would probably be pretty cool and quite easy for instance to write Zephyr or U-Boot drivers, etc in Swift using these techniques.
In fact, that's how i/o worked before DMA on many systems. Good times!
That being said, I've even seen it for UARTs on microcontrollers where they're hoping to not have FIFO block RAMs taking up area dedicated to UARTs that might not even be enabled. There you have a absoute minimal staging buffers in the UART, and a fairly reconfigurable DMA controller to allow you to use sharable main RAM instead.
This is where you lost me.
Omarchy is stock Linux with vibe coded config files.
If we were seeing experimental kernel designs, new memory management, abstraction layers over GPUs and TPUs baked in as OS primitives than as device drivers, and so on, I'd get excited.
But AI slop propagated by a fascist with an obvious and stupid agenda? No. That's not an example of something interesting.
In other words, they lost me there too.
I have yet to see any OS developer go all-in on AI and agentic coding in the same way. Maybe Microsoft. But my point was about new operating systems, with new ideas.
Yes you can try and take things in an original direction but we're ignoring the incredible amount of work that's gone into Linux, solving most of the problems you can't imagine and that AI will burn though a lot of time and tokens trying to re-solve (badly, without a ton of intelligent intervention).
I think you're more likely to see more people experimenting with existing open source work, rather than generating new projects. These new projects are easy come, easy go.
Now with WSL and its use being increasingly relevant (MXC, Windows Server 2025, Windows IoT Enterprise), Windows is increasingly looking just like DEC, IBM and Unisys mainframes (microcomputers) with their UNIX subsystems[0].
So we really need new ideas in OS space.
The mobile space has some alternative approaches, however it is mostly replacing userspace, while keeping an UNIX kernel underneath.
[0] - Yeah, Windows NT already had it somehow, but we all know how little effort that was.
If you have that then so much overhead can disappear, and you can design such better APIs.
Wirth did it at least twice, with Medos-2 (1983) and later with various flavours of Oberon System.
if you want a serious challenge, try making some drivers
“Hack the Planet!”? “Mess with the best die like the rest”? WTF?
How could one even start programming without sewing HACKERS the movie. cult classic