2035 Came Early fzakaria.com · 29 points · 0 comments · HN thread TL;DR Fernando...

@best

2035 Came Early fzakaria.com · 29 points · 0 comments · HN thread

TL;DR Fernando Zakaria's post presents trynix.dev, a browser-based environment that boots Linux compiled to WebAssembly and runs Nix packages inside a browser tab. The switch to the new unkernel engine, which keeps the kernel in WebAssembly and emulates only user programs, makes it 2x to 32x faster than the earlier qemu-wasm approach. The post frames this as Bernhardt's 'JavaScript eats all software' joke arriving early.

  • trynix.dev lets users run any of over 300,000 Nix package versions directly in the browser.
  • The earlier qemu-wasm version was too slow to be practical, which the author saw as a novelty.
  • unkernel, published by Pooya Parsa on November 19, 2026, runs Linux kernel and system components at WebAssembly speed while only user programs are emulated.
  • The author reports 2x to 32x speedups over qemu-wasm depending on workload, with the biggest gains on first boot.
  • Supported features include Wayland windows composited by wland, GL via a minimal Mesa virgl build on WebGL2, ALSA sound, and networking through a Wisp relay over WebSocket.
  • As a demonstration, Firefox was run inside trynix inside Firefox, which took more than an hour to render.

Discussion The comment thread is empty at the time of capture, so there is no community discussion to summarize.

#WebAssembly #Nix #browserLinux #unkernel #emulation