← Thu, Nov 26 digest

Show HN: Three Linux VMs in a browser tab, each running a different browser

read article ↗ hn thread ↗

A Show HN project runs three separate Linux virtual machines inside a single browser tab via WebAssembly, with each VM hosting a different browser.

summary is enough The project is a clever WebAssembly tech demo, but the discussion thread captures all the necessary context and caveats.

The article could not be read automatically; this analysis is based on the title and discussion.

summary

This Show HN project showcases three Linux virtual machines running concurrently inside a single browser tab, leveraging WebAssembly and unkernel. Each VM boots a lightweight Linux environment hosting a distinct browser for side-by-side comparison. Networking relies on WebSockets routed through public Wisp relays since raw sockets are unavailable in browsers. While technically impressive, discussions highlight performance limits from software rendering and questions around isolation guarantees.

key points

  1. Built using WebAssembly and unkernel to run multiple Linux virtual machines completely inside client-side browser tabs.
  2. Networking uses WebSockets connected to public Wisp relays because browsers cannot open raw sockets directly.
  3. Performance is constrained by software-only rendering without GPU acceleration, making complex web apps lag.

who should read it

Frontend and systems engineers interested in WebAssembly, browser architecture, and virtualization experiments.

discussion positive

consensus

Most participants view the project as an impressive and fun technical showcase of recent WebAssembly virtualization tools, though its practical utility is debated.

pushback

Technical critics point out that running browsers inside WASM VMs inside a host browser offers questionable security isolation and poor performance without GPU acceleration.

best comment by rvz ↗

This is quite misleading from a security standpoint. Assuming that this runs a compiled Linux kernel in WASM (with a userland JIT) and running a browser(!) inside of it (why?) as long as the host browser engine is written in a memory unsafe language it doesn't matter and it's quite possible to chain up memory corruption bugs to escape that "isolation".

So I don't think this makes much sense at all.

> There is no GPU: browsers render in software.

Then what is the point of this for complex websites if it is in software? Guessing that Claude wrote this?

It provides a realistic technical critique of the security assumptions and performance limitations regarding running browsers via WASM inside a host browser.

Generated by an LLM from the article and thread. Check the sources before relying on it.