Unkernel and Trynix boot full Linux systems in browser tabs via Wasm
New tools compile operating systems to WebAssembly, eliminating the need for hypervisors and running Debian or NixOS directly in web applications.
By Sarah Montgomery ·

WebAssembly technology has reached a milestone that allows full operating systems to run inside standard browser tabs without virtualization layers. Two new projects, Unkernel and Trynix, demonstrate this capability by compiling Linux kernels to Wasm binaries. This development fulfills a prediction made by developer Gary Bernhardt in 2014 regarding the future of cross-platform runtimes.
Pooya Parsa, an Iranian developer, announced the Unkernel project on X on November 15. He published version 0.2 of the software on November 19. The project is written in Zig and compiled to Wasm. It boots a real Linux kernel inside an Arm64 runtime. The Unkernel.dev page loads Debian 13 with 2 GB of RAM and two virtual CPU cores. The interface uses Wayland, and users can launch applications via the Super+K shortcut.
Farid Zakaria introduced Trynix in a blog post titled 2035 came early. Unlike Unkernel, which runs Debian, Trynix runs NixOS. This allows access to nearly 300,000 program versions from the Nix multiverse. The system supports Wayland, OpenGL, and ALSA sound. Testing on a 15-year-old iMac confirmed that Doom runs successfully. On newer hardware, Firefox on Linux launched inside Chrome on Linux.
These tools replace traditional hypervisors and containers with Wasm instances. This approach allows developers to run identical binaries on Arm, x86, and RISC-V architectures. Bernhardt predicted in 2014 that developers would target a platform he called METAL, which he described as Wasm running directly in the OS kernel. The 2014 talk was presented as a historical account from 2035. It predicted that JavaScript would become a forgotten artifact and that Wasm would become the dominant cross-platform runtime.
The evolution of Wasm has already replaced JavaScript in many web contexts. By 2022, Wasm supported LibreOffice in web pages. The Internet Archive uses Wasm emulation to run vintage games. The former MacOS9.app site evolved into Infinite Mac, which now runs NeXTstep, early Mac OS X development versions, and BeOS. These examples show that running gigabyte-scale applications in browsers is technically feasible.
Zakaria released a tool called tabc a few days after his initial post. The tool treats browser tabs as a container runtime. On macOS, developers can run real Linux containers without a hypervisor or virtual machine. This eliminates the overhead associated with traditional virtualization. The project relies on LLM-assisted coding to accelerate development. The lengthy README on the Unkernel GitHub repository indicates significant use of AI assistance in the implementation process.
Michael Lohr developed SideBySide, a browser-based tool that displays three parallel panes. The panes contain Firefox, Chromium, and the WebKit-based Epiphany. Entering a URL opens the site in all three browser engines simultaneously. This demonstrates the ability to run multiple complex GUI applications within a single Wasm environment. Docker founder Solomon Hykes stated in 2019 that if Wasm and WASI existed in 2008, Docker would not have been created.
The current trend mirrors historical attempts to create universal operating systems. Dennis Ritchie, Ken Thompson, and Rob Pike developed Plan 9 from Bell Labs in the 1990s. Plan 9 simplified Unix core functions and added GUI, networking, and containers to the kernel. They extended this with Inferno for platform-independent binaries. The recent Wasm developments achieve similar goals through industry trends rather than centralized planning.
Bret Victor gave a presentation called The Future of Programming in 2013. He performed the talk as if it were 1973, using transparencies and an overhead projector. The presentation parodied industry mistakes made from 1973 to 2013. Bernhardt's 2014 talk followed a similar structure by presenting a fictional history from 2035. Both speakers used time displacement to critique current software development practices. The Wasm ecosystem now validates several predictions from these earlier presentations.






