Few projects can claim to run the Linux kernel in something other than hardware. Unkernel, created by PiThings and published in November 2026, says it does: it compiles the entire Linux 7.x kernel as a single WebAssembly module and runs it inside a web page, with a real memory management unit, compiled syscalls, and a shell ready in under a second.
What makes unkernel different from anything you've seen before is not that it runs Linux in the browser — projects like v86 and JSLinux have done that for years — but how it runs. Instead of emulating the entire kernel (which is faithful but slow) or reimplementing syscalls in JavaScript (which is fast but limited), unkernel compiles the kernel itself to WebAssembly and emulates only the user programs. This means the kernel code — memory management, scheduler, ext4, TCP/IP — runs as compiled WebAssembly code, not as a translator. User programs, meanwhile, are unmodified aarch64 Linux binaries, emulated by kwemu, a riscv64 CPU written in Zig and linked into the kernel module itself.
The project's architecture breaks into three layers. The kernel layer is Linux 7.3.4 with patches, compiled to WASM. It has its own page tables, its own scheduler, its own filesystem, and its own network stack. When a user program needs to make a syscall, kwemu returns control to the kernel, which processes the call as native WASM — no emulation trap and no intermediary layer. The user emulation layer is kwemu, which walks the kernel's own page tables, ensuring that `fork`, `mmap`, copy-on-write, shared memory, threads, and signals behave exactly as on physical hardware. The runtime layer provides a minimal desktop, a persistent disk in IndexedDB, and networking via a Wisp proxy.
The performance numbers are an important indicator of the approach. In benchmarks run under Node.js, syscalls on unkernel are significantly faster than in full-machine emulators — `getppid` at 172 ns versus 1,662 µs on QEMU-system and 320 ns on QEMU-user. `fork + exit + wait` runs in 57 µs on unkernel, faster than native `getppid` (73 ns). Purely computational operations, on the other hand, suffer: kwemu's decoded-op interpreter runs guest instructions at about 250-300 million per second, and the JIT makes Alpine code run 1.6 to 2.3 times faster than the interpreter — but still well behind native execution.
For browser use, the experience is surprisingly complete. Opening unkernel.dev downloads about 10 MB and brings up a shell with a package manager, persistent storage, internet access, and a framebuffer with sound. The default distribution is Debian, but Alpine and a shell-only mode are available. The data disk lives in the browser's IndexedDB (default 4 GB), and suspended sessions resume exactly where they left off. There's also a TypeScript SDK, a CLI (`npx unkernel`), and a safe mode to recover corrupted systems.
The project requires modern web features. It supports Chrome/Edge 137+, Firefox 153+, and Safari 27+, all with JSPI — the `WebAssembly.Suspending` extension that allows the kernel to perform real stack switches. Browsers without JSPI show a message indicating what's missing. There is no IPv6 support, UDP limited to DHCP and DNS, and inbound connections are impossible — guest servers are reached via vsock, not traditional networking.
What does this mean for the development ecosystem? Unkernel opens possibilities that were previously theoretical. You can embed a complete Linux machine inside a web application without relying on server-side containers, without Docker, without VMs. This is especially relevant for development and testing environments: a CI runner that runs in a browser, a security playground that delivers an authentic Linux terminal, an online IDE that doesn't need to rebuild tools for WASM. The JavaScript SDK is the bridge: a single function runs the same kernel in Node and in browsers.
The project's limitations are real and well documented. CPU-heavy work is well behind native. There's no GPU, no hardware breakpoints, and UDP beyond DHCP is unsupported. The code is GPL-2.0 for the kernel and MIT for the SDK. But the proposition — compile the kernel, emulate only what needs to — is an alternative path that none of the other projects follow. Where QEMU emulates everything and LKL recompiles everything, unkernel does the exact inverse: it compiles the kernel and emulates the programs.
The question is whether this approach will spread beyond enthusiasts or become the foundation for development tools that no longer depend on server infrastructure. Unkernel proves it's possible. What remains is to discover who actually needs it.
Sources: Hackaday, GitHub — PiThings/unkernel, Jamilur Rahman
✓ Independent sources cross-checked and verified before publishing