Unkernel: Linux Kernel Runs in WebAssembly
Original: Unkernel: Real Linux kernel, compiled to WebAssembly
Why This Matters
Running a real kernel in Wasm has implications for browser-based dev environments and sandboxing.
Unkernel.dev boots a real Linux kernel compiled to WebAssembly, running entirely in the browser via JavaScript. The project demonstrates full kernel execution in a web environment without native binaries.
Unkernel is a project that compiles the Linux kernel to WebAssembly (Wasm) and boots it directly in the browser. The site at unkernel.dev serves as a live demo: visit the page, and a Linux kernel starts up in your browser tab. No plugins, no native code — just Wasm and JavaScript. The project is sparse on documentation at the landing page level, but the technical feat speaks for itself. Compiling a monolithic kernel like Linux to a Wasm target requires bridging significant architectural gaps, since Linux assumes direct hardware access that WebAssembly's sandboxed environment does not provide. Projects like this typically rely on emulated hardware layers or custom syscall shims to make the kernel functional inside a browser runtime. Unkernel appears to be an early-stage or experimental release, with the demo page as the primary public-facing artifact. It joins a small group of efforts — including projects like JSLinux and copy.sh/v86 — that push Linux into browser environments, though a native Wasm kernel compilation is a distinct technical approach from x86 emulation.