Sulat.com / Writing on AISaturday, November 28, 2026
Developer Tools/28 November 2026

Unkernel runs a real Linux kernel inside a browser tab

Pooya Parsa's unkernel compiles Linux 7.3 to WebAssembly and runs unmodified Arm programs on top. Guillermo Rauch posted it booting Debian in 1.3 seconds with the fx coding agent running inside.

Glossy 3D unkernel logo badge in front of a browser window showing a Linux terminal, for the unkernel Linux-in-a-browser story
Illustration: Sulat, featuring the unkernel logo

At a glance

  • Guillermo Rauch posted a video of Debian Linux booting in a browser tab at unkernel.dev in 1.30 seconds on 4 CPUs, with Vercel Labs' fx coding agent running in the terminal.
  • unkernel is Linux 7.3.4 compiled to one WebAssembly module with a real MMU. Programs on top are unmodified aarch64 binaries run by kwemu, a Zig CPU emulator with a JIT.
  • The README's own Node figures put fork, exit and wait at 57 µs against 73 µs native and 1,178 µs under qemu-system. Heavy computation is well behind native.
  • Known limits: no IPv6, no inbound connections, no ptrace, and the page needs JSPI (Chrome or Edge 137+, Firefox 153+, Safari 27).

Guillermo Rauch, Vercel’s chief executive, posted a video on 28 November of Debian Linux booting inside a browser tab at unkernel.dev, with fx, a Vercel Labs coding agent, running in the terminal. The system is unkernel: a real Linux kernel, version 7.3.4 with patches, compiled to a single WebAssembly module. His post calls it “absolutely unreal” and says it runs “a full Linux [kernel] and distro in a browser tab”. The boot banner in the video reads 1.30 seconds on 4 CPUs.

Guillermo Rauch’s post on X with the unkernel video, 28 November 2026 (NZ time).

What the video shows

The clip opens on a console window at unkernel.dev. A boot log ticks off its steps: browser features checked in 6 ms, the 3.6 MiB unkernel-smp.wasm downloaded in 23 ms, the kernel compiled in 4 ms, 2048 MiB of memory allocated, and a 74.2 MiB Debian image streamed in. The banner then reads “Booted in 1.30 s on 4 CPUs” and the prompt welcomes you to Debian GNU/Linux 13 (trixie) on unkernel, aarch64. Later frames show uname -a reporting Linux 7.3.4 with SMP, and a settings panel for CPUs, memory and distro, with Debian, Alpine or a bare shell on offer.

Hand-drawn penguin and stopwatch inside a browser tab: Linux boots in 1.3 seconds
The boot banner in Rauch’s video reads 1.30 seconds on 4 CPUs. Illustration: Sulat.

Then Rauch runs fx. It’s version 0.0.18, on the model deepseek-v4.1-flash-1017-ultrafast. He types “hi there” and “who are you”, and fx replies that it’s a local coding CLI assistant working in /home/user, able to read and edit files, run commands and check git state. That’s the demo: an agent that expects a shell, files and git, running on a Linux machine that exists only inside the tab. fx is the agent Rauch showed building lsx earlier this week, which we covered when it happened.

The README’s own Node figures are smaller than the banner. It says the kernel reaches /init about 70 ms after it starts, and an Alpine prompt appears 0.3 seconds after node launches. The browser run also downloads and attaches a 74.2 MiB Debian image, so the two numbers measure different things.

How it works

unkernel isn’t an emulator of a whole PC. The kernel is the program the browser runs: Linux, compiled to WebAssembly, with a real memory management unit built on arch/wasm page tables, so each process gets its own address space. User programs are ordinary aarch64 binaries. They run on kwemu, a CPU emulator written in Zig and linked into the kernel, which walks the kernel’s own page tables, and a JIT compiles hot code to WebAssembly. Task switches use JSPI, the JavaScript Promise Integration API, which gives the kernel real stacks it can suspend and resume. Devices are small paravirtual drivers that talk to the JavaScript host: block, network, display, input, sound, vsock and shared memory.

Hand-drawn diagram: the Linux kernel is compiled to WebAssembly, while aarch64 programs on top run through the kwemu emulator
Linux itself is compiled to WebAssembly; only the programs on top are emulated. Illustration: Sulat. Source: unkernel README.

That split explains the speed profile. Starting processes, syscalls, page faults and file and network I/O all run as WebAssembly, so only the instructions of the programs themselves are emulated.

The numbers

The README publishes Node benchmarks from 14 November. They’re the author’s own figures, not an independent test. In that run fork, exit and wait takes 57 µs in unkernel against 73 µs natively and 1,178 µs under qemu-system, so it beats native and is about 20 times faster than qemu-system. A bare getppid syscall takes 172 ns against 110 ns native and 1,662 ns under qemu-system.

OperationNativeqemu-userqemu-systemunkernel
getppid110 ns320 ns1,662 ns172 ns
read 64 B from /dev/zero161 ns481 ns2,247 ns172 ns
pipe write + read417 ns1,032 ns7,256 ns482 ns
fork + exit + wait73 µs537 µs1,178 µs57 µs
Time per operation, from the unkernel README, measured under Node on 14 November 2026.
Hand-drawn bar chart of fork, exit and wait times: unkernel 57 microseconds, native 73, qemu-system 1,178
Fork, exit and wait: 57 µs in unkernel, 73 µs native, 1,178 µs under qemu-system. Illustration: Sulat. Source: unkernel README.

Computation is the other side. The README says kwemu’s interpreter runs integer code at about 250 to 300 million guest instructions a second under Node, and the JIT makes real Alpine work 1.6 to 2.3 times as fast as that, which is still well behind native. In the README’s test, apk add python3 takes about 3.4 seconds.

Hand-drawn rabbit and snail: kernel work is fast, heavy maths is slower
Kernel work runs at WebAssembly speed; heavy computation is where the emulation shows. Illustration: Sulat. Source: unkernel README.

Outside numbers are thin and come with a caveat. Farid Zakaria moved trynix.dev from qemu-wasm to unkernel and claims it’s 2x to 32x faster in his 23 November post. The two engines ran different builds, x86_64 on one side and aarch64 on the other, so that range isn’t a like-for-like test.

Two weeks of releases

  • 12 November: the repository is created.
  • 19 November: the aarch64 release. Its notes say claude, opencode, node, bun and fx just work, installed on first use.
  • 22 November: a GPU and a Wayland desktop, where Firefox, Chromium and SuperTuxKart run as windows through virglrenderer on WebGL2.
  • 24 November: Vulkan on WebGPU. The release notes cite llama.cpp and Ollama.

Rauch’s post says unkernel “can even run Chrome inside Chrome”, but the video doesn’t show a browser inside the browser. The release notes list Chromium and Firefox running as windows inside the guest, and the nested demo Zakaria documents is Firefox inside Firefox.

Who built it

The author is Pooya Parsa, known as pi0, who said in an 8 July 2025 post that he’d joined Vercel. The README credits Vercel as a sponsor. The kernel is GPL-2.0-or-later, and the JavaScript SDK and the page are MIT.

How it sits beside the alternatives

The README sorts the alternatives by how they handle the kernel, user space and the MMU. Running agent code in WebAssembly has come up here before, when Cloudflare showed OpenAI’s Codex running as Wasm.

ApproachKernelUser spaceMMU
Whole-machine emulators (v86, JSLinux, container2wasm, QEMU’s wasm build)Linux, emulatedUnmodified, emulatedEmulated
Syscall emulatorsNone: a runtime reimplements the syscallsUnmodified, emulatedThe runtime’s own
POSIX runtimes for wasm (Wasmer WASIX, WebContainers, BrowserPod)None: a runtime provides the syscallsRebuilt for wasm, or JavaScriptNone
Linux without an MMU (linux-wasm, tombl/linux, WasmLinux)Linux, native wasmRebuilt for wasmNone
unkernelLinux, native wasmUnmodified aarch64, emulatedReal page tables
The comparison table in the unkernel README, read 28 November 2026. The README is the author’s own account of the alternatives.

The README says that without an MMU, fork and anything else that needs one breaks or is approximated. unkernel is the one entry that pairs the real kernel at WebAssembly speed with unmodified binaries and real page tables.

The limits

  • No IPv6, no UDP beyond DHCP and DNS, and no inbound connections.
  • No ptrace, so strace and gdb don’t work.
  • A WebAssembly trap ends the session.
  • Scaling stops near 4 CPUs, and Safari slows down with more.
  • The page needs JSPI: Chrome or Edge 137 or later, Firefox 153 or later, or Safari 27.
  • Browser networking goes through a Wisp relay over WebSocket with an allow-list.

Until someone measures real workloads, the README’s numbers and the 1.30-second banner are what exists. The part to watch is the agent angle: a coding agent now has a disposable Linux machine that runs in the page and can be suspended and resumed. The unkernel repository, Rauch’s post and Zakaria’s 23 November post hold the details used here.

Disclosure: I’m a Vercel customer.