Show HN: I wrote an OS in 1000 lines of Zig

2 botirk 1 9/18/2025, 3:05:12 PM github.com ↗

Comments (1)

botirk · 1h ago
I wanted to understand what the bare minimum of an operating system looks like.

So I built one in Zig, keeping the whole thing under 1000 lines of code.

It can: → Boot from GRUB → Manage memory → Schedule simple tasks → Output text to VGA

The point was not to make it feature-rich, but to show how much is possible with just a few hundred lines if you strip everything down to the essentials.