Show HN: I wrote an OS in 1000 lines of Zig
2 points
1 day ago
| 1 comment
| github.com
| HN
botirk
1 day 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.

reply