# This Mad Genius Got Linux Running in a Browser Using WebAssembly

**URL:** <https://onehack.st/t/this-mad-genius-got-linux-running-in-a-browser-using-webassembly/312642>\
**Category:** News & Articles\
**Tags:** programming, browsers\
**Created:** [November 3, 2025, 4:26pm UTC](https://onehack.st/t/this-mad-genius-got-linux-running-in-a-browser-using-webassembly/312642 "2025-11-03T16:26:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Margaret](https://onehack.st/user_avatar/onehack.st/margaret/32/174872_2.png) [@Margaret](https://onehack.st/u/Margaret)\
**Post date:** [November 3, 2025, 4:26pm UTC](https://onehack.st/t/this-mad-genius-got-linux-running-in-a-browser-using-webassembly/312642/1 "2025-11-03T16:26:43Z")

</div>

# 🐧 Linux Just Booted Inside Your Damn Browser Tab

> **🗺 One-Line Flow:**  
> Linux is now running _inside_ a browser tab — real kernel, real shell, fake stability.

**More simpler…** 🫏

- Linux’s brain (kernel) just learned to live inside your browser and do small tricks — but it’s drunk, unstable, and might pass out anytime.

![No Way What GIF by Pudgy Penguins](https://media2.giphy.com/media/v1.Y2lkPTNiMWQxM2I2bjU1aTl5bzFkdWtqZjMxdWEwaWgwNm1taHZmdXhldTRpYjd2eDdvcCZlcD12MV9naWZzX3NlYXJjaCZjdD1n/HWyJ9wXCrLPqXG0zwD/giphy.gif)

* * *

### ⚙ What Even Happened?

An open-source dev, [Joel Severin](https://lwn.net/Articles/1044786/), casually dropped a [post](https://lore.kernel.org/lkml/618f3602-03aa-46a8-b2d4-3c9798c4cd2b@icemanor.se/) saying:

> “I’ve been slow-rolling a Linux-to-WebAssembly port for two years. It now boots, runs programs, and kinda holds together… for a while.”

Yes — the **Linux kernel** now _boots inside your browser_, thanks to **Wasm (WebAssembly)**.  
You can literally run a shell here → [Linux booting in your browser tab, accelerated by Wasm](https://joelseverin.github.io/linux-wasm/).

* * *

### 🧠 How the Hell It Works

- Each **process** gets its _own CPU_, powered by **Web Workers** — up to **8,000 CPUs** faking parallelism.
- There’s **no preemption** — WebAssembly can’t pause or interrupt tasks, so when one freezes, everything follows.
- The stack? **LLVM/Clang** , **musl libc** , **BusyBox** , **WASI** (WebAssembly System Interface), all packed neatly into an **initramfs**.
- Terminal handled by **xterm.js** , kernel running like it’s lost its mind.

Full geek dump → [joelseverin.github.io/linux-wasm](https://joelseverin.github.io/linux-wasm/)

* * *

### 👷 Developer Context

- **Who:** [Joel Severin](https://lwn.net/Articles/1044786/), lone open-source tinkerer.
- **How long:** “Past two years or so.”
- **Code:** Source, build scripts, and chaos → [GitHub Repo](https://joelseverin.github.io/linux-wasm/).

* * *

### 🔥 Why This Is Actually Wild

- **Sandboxing:** Run sketchy Linux apps safely in your browser jail.
- **Bug Reproduction:** Debug kernel features without nuking your main system.
- **Edge/Cloud Potential:** Imagine full Linux servers living in browser tabs.
- **Legacy Resurrection:** Run _old Linux stuff_ without emulation — this is native syscall exposure, not some v86 cosplay.

![Nervous Womens Basketball GIF by NCAA March Madness](https://media3.giphy.com/media/v1.Y2lkPTNiMWQxM2I2NXVxMXYzd2o5MGQ1bmZ1cWFhMWc2NXhzN3J4YWp4dTlxOHhsMGprMSZlcD12MV9naWZzX3NlYXJjaCZjdD1n/pccTNAJ61911vAEfrl/giphy.gif)

* * *

### ⚠ Reality Check

- **Stability:** “Not stable or secure,” admits Joel — the hacks are real.
- **Crashes:** [_Phoronix_](https://www.phoronix.com/news/Linux-Kernel-WebAssembly) tested it — Chrome tapped out in minutes.
- **Community:** Kernel devs are fascinated… and mildly horrified.
- **Next Steps:** Needs deep changes in **Linux** , **WASM** , and **LLVM** just to survive.

* * *

### So You’re Telling Me My Browser’s a Server Now?! What the Actual—

![](https://media3.giphy.com/media/v1.Y2lkPTNiMWQxM2I2cnk0dDVlYmRsN3g4MTVzZ3MxN2gwaGpwdnl5eDJxdXJ2Y3BlZmQ2cyZlcD12MV9naWZzX3NlYXJjaCZjdD1n/jtR4dLoOzwVbj3V1du/giphy-downsized-medium.gif)

1. Tiny Servers in Your Browser - _This is a proof of concept_

2. SaaS Sandbox Testing

3. Sell It as a Curiosity Magnet

> 💡 **In One Line:**  
> This isn’t just Linux in a tab — it’s a _browser sandbox economy starter kit_ for anyone smart enough to wrap chaos into a product.

* * *

### 💬 In Short

Linux now runs where memes used to — your browser.  
It’s janky, glitchy, brilliant, and pointless all at once.  
**Peak 2025:** turning browsers into bootloaders just because we can.
