News for hackers. Stuff that matters.
Re:A minimal kernel in Swift, running in QEMU by mike_hearn on Thursday October 08, 2026 @03:53AM (#50003004)
I bet we're going to see a lot more of this. UNIX kernels have dominated computing use cases outside of desktops for a long time more because they conveniently come with free source code than because they are a great design. Now AI makes it so easy to experiment, I hope we'll see a new era of exploration in OS and framework design. We're already seeing the start of this with Omarchy but it's baby steps and not focused on the lowest levels. The stark differences between NT, XNU, SeL4 and Linux show there's plenty of room for differentiation at the bottom, and (other than SeL4) those are all still very similar due to commercial pressures.
Re:A minimal kernel in Swift, running in QEMU by PaulRobinson on Thursday October 08, 2026 @04:35AM (#50003285)
> We're already seeing the start of this with Omarchy

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.

Re:A minimal kernel in Swift, running in QEMU by wltr on Thursday October 08, 2026 @11:32AM (#50007071)
The comment you replied to is ‘how to say you don’t know or understand what Omarchy is, without saying it’

In other words, they lost me there too.

Re:A minimal kernel in Swift, running in QEMU by mike_hearn on Thursday October 08, 2026 @11:35AM (#50007101)
I know what Omarchy is. I have it running in a VM right now.

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.

Re:A minimal kernel in Swift, running in QEMU by mentalgear on Thursday October 08, 2026 @05:00AM (#50003478)
Omarchy? the arch-deviated, vibe-coded, dark-money, techno-fascist wet-dream famous for pushing unstable updates that break the system - is that really what you want to use as an example for actual thoughtful work that a reliable kernel needs ? Common now, dude.
Re:A minimal kernel in Swift, running in QEMU by veltas on Thursday October 08, 2026 @07:26AM (#50004515)
As a counterpoint, you are lumping a lot and generalising a lot there, if we're specific then you can't really trivially replace e.g. the Linux kernel with an AI project in whatever language you want. An incredible amount of work has gone into the Linux kernel and its design, and the infrastructure under that veneer of a "UNIX kernel" is too significant to hand-wave away. The issues facing Linux are well beyond (but not excluding) those created by using a dangerous language like C, or using hacky/outdated UNIX interfaces and conventions.

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.

Re:A minimal kernel in Swift, running in QEMU by mike_hearn on Thursday October 08, 2026 @09:19AM (#50005503)
Most of the tricky problems solved in the kernel are hardware quirks related, and AI can just use the existing driver sources as a reference.
Re:A minimal kernel in Swift, running in QEMU by aryx on Thursday October 08, 2026 @07:55AM (#50004748)
I agree. I actually used Claude to rewrite some famous kernels (in OCaml): https://github.com/aryx/IX/tree/main/kernels with xv6, plan 9, oberon, singularity, Squeak on the bare Metal. So easier now to experiment in OS design.
Re:A minimal kernel in Swift, running in QEMU by pjmlp on Thursday October 08, 2026 @08:38AM (#50005118)
Same here, the OS nerd part of me misses the heterogeneity of computing systems, before it became UNIX/POSIX vs Windows for the most part.

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.

Re:A minimal kernel in Swift, running in QEMU by mike_hearn on Thursday October 08, 2026 @10:35AM (#50006309)
Maybe some day if I find the time I'd like to make a Singularity style single address space OS with GraalVM, except with a fully garbage collected unified heap. In the past it wasn't feasible for a bunch of reasons but I think they're solvable now.

If you have that then so much overhead can disappear, and you can design such better APIs.

Re:A minimal kernel in Swift, running in QEMU by Joker_vD on Thursday October 08, 2026 @01:07PM (#50008560)
> In the past it wasn't feasible

Wirth did it at least twice, with Medos-2 (1983) and later with various flavours of Oberon System.

Re:A minimal kernel in Swift, running in QEMU by mike_hearn on Friday October 09, 2026 @04:41AM (#50017760)
The challenges are different in the modern era. Things like Spectre attacks, being able to define failure domains, isolating GC pauses and so on. The tech exists to do that but not in 1983.
Re:A minimal kernel in Swift, running in QEMU by pjmlp on Friday October 09, 2026 @05:15AM (#50018030)
Yeah, this looks great for 1980, but not in what is expected from an OS in 2026.

"Eric Bier Demonstrates Cedar"

https://www.youtube.com/watch?v=z_dt7NG38V4