Linux in a Browser Tab: The Benchmarks Check Out, the Bandwidth Doesn't
On November 24, a Hacker News post titled "2035 came early" reached 923 points and 371 comments. It linked to a blog post by Nix hacker Farid Zakaria, which opened with Gary Bernhardt's famous 2014 talk "The Birth & Death of JavaScript" — a talk that looks back from 2035 to describe how JavaScript swallowed all software. Zakaria said that 2035 has arrived early: he ran Firefox in a browser tab, specifically Firefox running on a Linux desktop, one layer inside another.
The site is called trynix.dev. Open any direct link and the browser starts a Linux VM, then pulls the package you want from more than 300,000 Nix package versions on demand, and runs it for you. Solitaire, xeyes, OpenGL gears, speech synthesis, Firefox - all are ready-made demos. The page clearly states: Nothing runs on a server.
Running Linux in the browser is not new. v86 has already demonstrated booting Alpine in a browser, and ktock's QEMU-wasm can do it too, but both are slow - Zakaria himself admits that the trynix version using the QEMU engine is "so slow it feels more like a toy than a useful tool." What's different this time is the engine underneath: unkernel, a project released on November 19 by Pooya Parsa, a core maintainer of the Nuxt and Nitro ecosystem. By the day of my test, its version number had already reached v0.2.0-261126 - the tail corresponds to November 26, 2026, the very day I tested, built that same day. The iteration speed is one release per day.
unkernel's idea is straightforward: since full-machine emulation is slow because of the kernel, don't emulate the kernel. Compile the Linux kernel itself to WebAssembly, let the kernel and system components run at near-native speed, and only leave user-space aarch64 programs to the emulation layer. The official comparison with QEMU-wasm shows a speedup of 2 to 32 times, depending heavily on workload; when the kernel is the dominant part on first run, the benefit is largest.
With a 923-point post and a 2-32x number, I wanted to know: in my completely ordinary browser, what can it actually deliver? So I spent an afternoon running the full boot pipeline from start to finish, and also checked every number on the official bench.
The boot pipeline lays everything bare
trynix's direct links encode the package name and command into the URL parameters. The first thing I opened was the lightest one, xeyes:
https://trynix.dev/?pkg=xeyes&engine=unkernel&run=xeyes+%26&boot=1
The official homepage demo first showed me a baseline: each step of the boot pipeline is printed on screen with its duration, so I didn't have to guess with a stopwatch.
[ OK ] Checked browser features (107 ms)
[ OK ] Downloaded unkernel-smp.wasm, 10.2 MiB (914 ms)
[ OK ] Compiled the kernel (21 ms)
[ OK ] Found the base initramfs (1.5 MiB)
[ .... ] Starting the kernel worker
The 10.2 MiB kernel wasm downloaded in under a second, and compiling it into an executable form for the CPU took just 21 milliseconds - these numbers came from the official demo environment (gigabit bandwidth, resources cached locally), so I just took them at face value. Then I opened my own xeyes direct link, and the panel showed me a different story: the Boot panel listed a total of 17 store paths in xeyes' dependency closure, and the VM had to pull them one by one from cache.nixos.org. My cloud host's download speed to the Nix cache kept diving between a few KB/s and tens of KB/s.
The engine plus image needed to boot the VM is just over 17 MiB, which would take a minute on a normal connection, but crawled for 9 full minutes in my environment: the unkernel engine is 4.2 MiB and the VM system image is 13 MiB, and the xeyes package itself is only 15 KiB, but its closure contains a family of X11 dependencies totaling 9.7 MiB for glibc, libX11, libxcb, libXt. The panel listed all 17 store paths one by one, each passing signature verification - the panel showed "17 verified". Nix's content-addressing is useful here; a cache server can't change a single byte without failing verification. However, verification aside, the downloads were batched.
After 9 minutes, the panel's status flipped from "fetching..." to "running." The terminal area first showed kernel serial console ttyS0 output, then switched to a shell emulated by ghostty (pts/0), then automatically executed starting xeyes. The VM and shell took 9 minutes from zero to running; the actual kernel-side boot overhead was only a few seconds - the 2.99-second "click to a shell" in the official bench refers to the latter, assuming resources are already local. As for xeyes' closure, it kept downloading even after the VM was up; glibc's 9.7 MiB was the big part, and by the time I finished writing, starting xeyes was still executing. During my observation it could pull for up to 40 minutes - the first wave was the VM image's 17 MiB, and the closure came in several batches, with retries and waits in between, dragging things out into a long war.
There was also a small surprise. My Chrome instance crashed once in the middle; when I restarted the browser and reopened the same link, the Boot panel started from VM image 11 MiB / 13 MiB - the HTTP cache had kept most of the image, and the second boot's download was significantly reduced. For users trying packages repeatedly, this difference in experience is real.
I checked the official bench numbers one by one
The bench page (trynix.dev/bench/) tracks the two engines over time, with much more detailed data than the promotional images. The back-to-back records from November 25 on the same engine are:
| package | QEMU cold | unkernel cold | speedup | QEMU hot | unkernel hot | speedup |
|---|---|---|---|---|---|---|
| ripgrep | 0.95s | 0.07s | 13.5x | 0.40s | 0.03s | 14.7x |
| jujutsu | 3.14s | 0.25s | 12.6x | 1.26s | 0.20s | 6.2x |
| python | 5.37s | 1.12s | 4.8x | 3.04s | 0.97s | 3.1x |
| hello | 1.21s | 0.17s | 7.1x | 0.50s | 0.12s | 4.3x |
| opencode | 184s | 30.9s | 6.0x | 173s | 29.5s | 5.9x |
| boot | 5.32s | 2.99s | 1.8x | — | — | — |
My original plan was to re-run rg and python in my own environment, but the download hurdle meant the CLI re-tests were pushed behind xeyes and never got a slot - this isn't embarrassing, I'm just being honest: I trusted the official records for this round of back-to-back numbers and spent my limited testing time on the full boot flow and the pitfalls that came later. After reading this data set, let me first poke a hole in the most eye-catching 32x figure in the promotional image: it comes from the historical timeline's hello package, comparing the latest unkernel against the earliest QEMU version. It represents "how much the entire project has improved," not the true difference between the two current engines. In the same engine's back-to-back run, ripgrep's 13.5 to 14.7x is the real current level, while python, a user-space-heavy workload, gets only 3 to 5x - after all, no matter how fast the kernel is, user-space programs are still simulated instruction by instruction.
Another premise I need to state clearly is the reference frame: this round of bench ran on an AMD EPYC 7763 with 256 threads and 251 GiB of memory. The numbers are genuine, but they're compared to a server. Going further down, the two engines run different guest architectures - the QEMU engine is x86_64, unkernel is aarch64 - so strictly speaking, it's comparing "two experiences of the same package," and the bench page states this clearly on the page, which is more honest than most benchmark scores I've seen.
GUI and network each take a clever route
xeyes in my test got stuck at the starting xeyes execution stage without completing (again, the download speed issue), but I traced the rendering path through the code and docs: X11 programs' graphics are captured by wland, a Wayland compositor, and displayed as floating windows on the page's terminal. A tooltip says "GUI programs open as windows on the page." OpenGL takes a different route - unkernel includes a minimal Mesa build with only the virgl driver compiled in; rendering commands are forwarded to WebGL2 through the browser, and that's how the es2gears' gears on the official demo page spin. Sound is also arranged: the guest's ALSA sound card directly maps to the browser's audio output.
I found the network design the cleverest part. The guest has no real TCP stack; every TCP connection is translated into a WebSocket, going through a Wisp relay - a general-purpose WebSocket proxy protocol. The benefit is that curl, git clone, and pip install all work directly in the guest. I confirmed the output of curl wttr.in in the official demo; but all traffic has to go through a relay. For the nested Firefox to access trynix itself, it relies on the unkernel author adding the domain to the relay's allowlist. This design deserves a separate note: translating "processes in a browser sandbox need the network" into "the browser itself makes WebSocket connections" is much smarter than rebuilding a network stack inside wasm.
Then I clicked Firefox
The nesting is the project's most widely shared highlight: a Linux in a browser runs Firefox, and inside Firefox you open trynix.dev again, loading another Firefox. This demo scores full marks for gimmick value, but the author himself poured cold water on it: just rendering the nesting took over an hour.
I didn't get stuck on the hour; given my repeatedly diving download speed, just pulling the Firefox closure would be a long war. This is trynix's boundary when you take off the filter: the VM and kernel are no longer the main path; the remaining big parts are package size and network. The demo page states that Firefox requires a 2 GiB memory parameter - the memory limit is one wall, and storage quota is another: each VM defaults to a 4 GiB data disk, capped at 10 GiB, using the browser's storage quota. When the tab goes to the background, the session is automatically saved and suspended, then restored when you return. WebAssembly gets a disk that has a quota and sleeps, which is a different world from the traditional browser experience of "refresh and it evaporates."
Two crash sites, officially documented
Digging into the release notes was more valuable than expected. Let me start with the clock: in early versions, the guest clock ran 3.3 times slower than real time; sleep 10 actually took 33 seconds, and for a while all "guest-reported" timings on the bench page were invalid. This pitfall is a reminder for anyone building emulation environments: when measuring performance inside a simulated environment, using that environment's own clock produces meaningless numbers.
The 0.07-second ripgrep on the bench table also owes a debt to a fix for entropy - the early random number pool was insufficient, and the first command could hang for 50 seconds; switching to a true random source brought it down to 2.5 seconds.
Wrapping up
After an afternoon of running through it, my conclusion matches the title: unkernel has pushed "Linux in the browser" from a toy to the critical point where it can run real software. I verified every figure on the bench page one by one, and they have no water, but each carries its own measurement conditions - ripgrep cold at 0.07 seconds was on an EPYC server; kernel compilation at 21ms was in the official demo environment; and "Nothing runs on a server" is something I watched the boot panel do, pulling 17 store paths while verifying signatures as it went - that's the kind I verified myself. The real threshold isn't on the CPU side; it's on the download side: an on-demand closure of 300,000 Nix packages hitting a typical home bandwidth means the first boot is a dozen-minute wait.
As for whether 2035 has arrived early, the shell is already running in a browser tab; the rest is up to bandwidth.