hn.today

2035 Came Early

fzakaria.com986 points370 comments
Screenshot of 2035 Came Early

The piece argues that Gary Bernhardt’s 2014 vision of JavaScript and the browser becoming the platform for all software has arrived ahead of its imagined 2035 deadline. Its example is trynix.dev, which runs more than 300,000 Nix package versions in a browser. Earlier versions relied on QEMU emulation and were too slow for much beyond novelty. A new engine, unkernel, changes that: it compiles Linux and system components to WebAssembly, leaving only user programs to be emulated. After adopting it, trynix became a much faster browser-based Linux environment.

The performance gains are especially strong on first runs, ranging from two to 32 times faster than QEMU-WASM in the reported benchmarks. The environment also goes beyond command-line software: it opens graphical windows, renders OpenGL through WebGL2, plays audio, and supports networking for tools such as curl, git, and pip. The most striking demonstration is Firefox running in trynix, loading trynix.dev, then starting another Firefox inside itself - a nested browser experiment that took over an hour to render. These capabilities make the browser resemble an operating system for desktop applications, turning a once-fanciful prediction into a working, if still experimental, reality.

Read on fzakaria.com370 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Web

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.