A portable picokernel for async I/O
ryansepassi.com·2h·
Discuss: Hacker News
Flag this post

Ryan Sepassi

October 2025

What if a kernel was just an event loop? No scheduler, no memory protection, no blocking calls - just an async runtime that happens to run on bare metal.

There’s kernels, there’s microkernels, there’s nanokernels, there’s unikernels, and then there’s what I’m building, which is so tiny, so under-featured, so unsafe that I’m not even sure it qualifies as a kernel. But it does allow for logging, timers, random number generation, block storage, UDP/IP networking, and running freestanding C code targeting its minimal interface. So, I’m going to call it a “picokernel” and I’d like to tell you about it.

Why?

Why build another minimal kernel? There are learning kernels out there - xv6, OS/161, and others - but they’re typically t…

Similar Posts

Loading similar posts...