r/Zig • u/wilyceef • 2d ago
Unkernel is partly implemented in Zig
The very impressive Unkernel is partly implemented in Zig.
Repo: https://github.com/pithings/unkernel
The Register thinks, we are already in 2035 ... a quote:
Unkernel boots a real Linux kernel inside a Arm64 runtime, written in Zig and compiled to Wasm.
When you visit the Unkernel.dev page, it boots Debian 13, on a real Linux kernel, running inside your browser tab. It has 2 GB of RAM and two virtual CPU cores. It has a very simple GUI, using Wayland; press Super+K for the app launcher. Which means that, yes, you can run Doom on it.
64
Upvotes
8
u/jedisct1 2d ago
Unsurprising. Zig generates very efficient WebAssembly code.
14
u/pauliesnug 2d ago
interesting, but sadly very LLM generated
1
u/red38dit 2d ago
Cool!