← BACK TO FEED
WebAssemblyLinuxcontainersbrowser techWasm

Your Browser Tab Is Now a Linux Machine. No, Really.

The article explores how WebAssembly (Wasm) is rapidly fulfilling a 2014 prediction by Gary Bernhardt that it would eventually replace traditional operating systems, hypervisors, and containers as a universal cross-platform runtime. Two new projects — Unkernel and Trynix — now allow full Linux operating systems (including Debian and NixOS) to boot and run inside a browser tab, with GUI support, sound, and real applications like Firefox and Doom. The author argues that this accidental evolution of Wasm, driven partly by LLM-assisted development, could render decades of OS and container design obsolete far sooner than anyone anticipated.

There's a certain irony in computing history: the scrappy hacks nobody takes seriously tend to outlast the carefully architected enterprise solutions everyone does. The web browser was supposed to display documents. JavaScript was supposed to add sparkle to form validation. WebAssembly was supposed to make browser apps faster. And now, collectively, they're eating the entire operating system layer.

This isn't hypothetical. It's happening right now, in browser tabs, on hardware you already own.

To understand why this matters, you need a bit of backstory.

Back in 2012, Gary Bernhardt gave a four-minute lightning talk called Wat at CodeMash that basically catalogued JavaScript's deeply strange behaviour as a language. Fun, sharp, worth watching. But it was his 2014 PyCon talk, The Birth & Death of JavaScript, that turned out to be genuinely prophetic.

The conceit of that talk is clever: it's framed as a history lecture delivered in 2035, looking back at how software evolved over the preceding two decades. Standing in 2026, we're roughly halfway through that timeline. What's unsettling is how much of it has already come true.

Bernhardt's argument ran roughly like this. JavaScript is bad, but ubiquitous. Its ubiquity spawned Asm.js, which let compilers for other languages target browser runtimes. Asm.js became WebAssembly. Wasm, being fast and genuinely cross-platform, gradually made the question of which OS or CPU architecture you're running on irrelevant. By 2035 in his fictional history, nobody bothers with traditional operating systems. You just compile to Wasm and run.

Fast forward to November 2025. Iranian developer Pooya Parsa releases a project called Unkernel. It boots a real Linux kernel inside an ARM64 runtime written in Zig, compiled to WebAssembly. Visit Unkernel.dev and your browser tab boots Debian 13. Two virtual CPU cores, 2GB of RAM, Wayland-based GUI. Yes, it runs Doom.

This is not a toy demo in the trivial sense. It's Bernhardt's prediction made concrete, twelve years ahead of when he thought it would arrive.

Then Farid Zakaria took it further with Trynix, swapping Debian for NixOS. That gets you access to nearly 300,000 packages, OpenGL support, ALSA audio, and a full Wayland compositor. On a 15-year-old iMac, it runs Doom. On newer hardware, you can launch Firefox on Linux inside Chrome on Linux, which is the kind of sentence that would have sounded deranged five years ago.

Michael Lohr's SideBySide is another example worth noting. A single browser tab splits into three panes, each running a different browser engine simultaneously: Firefox, Chromium, and WebKit's Epiphany. Type a URL and all three open it in parallel. Useful for compatibility testing. Genuinely strange to look at.

Zakaria followed his initial writeup with another post introducing tabc, which makes the implication explicit in its title: browser tabs as a container runtime. On macOS, it lets developers run real Linux containers with no hypervisor and no virtual machine underneath.

In 2019, Docker's founder Solomon Hykes remarked that if WebAssembly and WASI had existed in 2008, Docker wouldn't have needed to exist at all. That's starting to look less like a hypothetical and more like an early obituary.

The deeper point here is that none of this was planned. No committee sat down and decided browsers should replace hypervisors. It emerged from accumulated industry pressure: the dominance of the web, JavaScript's spread into every environment, the need for a genuinely portable binary format, and the availability of LLMs to accelerate the tedious implementation work that turns ambitious ideas into working code faster than was previously practical.

This is how Unix happened. How MS-DOS happened. How microcomputers happened. The deliberate, top-down attempts at a universal runtime tend to fail. Bell Labs tried twice: Plan 9 brought a cleaner Unix with clustering and networking baked in, and Inferno extended that with platform-independent binaries. Both were technically admirable. Neither took over the world.

Wasm might actually do it, precisely because nobody planned it that way.

Whether any of this matters to you depends heavily on what you do. For developers who currently maintain Linux VMs on macOS just to test things, or who juggle Docker images and hypervisors to get consistent environments, the browser-as-runtime approach is a genuinely interesting alternative. For everyone else, it's mostly a sign that the abstraction layer underneath modern software is quietly being replaced, and most people won't notice until it's already done.

READ NEXT
OpenAI's Own Systems Were Compromised by Its Own AgentsThe Linux Ownership Saga Is Finally Running Out of RoadThe Anti-AI Open Source Movement Has One Thing Going For It, and Everything Else Working Against It