« All posts

A Linux Compatible Kernel in Zig Running Linux Binaries in the Browser

A Zig-based kernel enables running Linux binaries in the browser, featuring a CPU emulator and extensive syscall support.

A kernel written from scratch in Zig allows running Linux binaries in the browser, booting all the way into the Node.js REPL. It implements around 110 syscalls and features a WebAssembly-based CPU emulator, enabling a unique environment for debugging and testing.