2035 came early

· Farid Zakaria’s Blog ·

4 min read Original article ↗

tl;dr trynix.dev boots GUI programs now. Try solitaire, GL gears, xeyes, a voice, the weather over curl, or Firefox.

I remember watching the talk The Birth & Death of JavaScript by Gary Bernhardt and falling in love with the whimsical yet dreadfully serious unfolding of the story of how JavaScript will come to dominate all software.

Others have noted the inevitability of JavaScript’s dominance, so perhaps it was not surprising that Atwood’s Law holds true.

Atwood’s LawAny application that can be written in JavaScript, will eventually be written in JavaScript. — Jeff Atwood, 2009

I highly recommend watching the talk if you have not already seen it, but the short and skinny is a lookback from 2035 and how JavaScript came to be the defacto language for all software.

In Bernhardt’s retelling of events, the date is worked back from 2035, however unsurprisingly, large language models have rapidly sped up the timeline. What was once perceived to be the end-state at 2035 has arrived years earlier and you can witness it unfolding at trynix.dev.

1980-01-01T00:00:00+00:00 image/svg+xml Matplotlib v3.10.5, https://matplotlib.org/ JavaScript the war JavaScript dies trynix, Nov 2026 asm.js GIMP in a tab METAL written in ten days; every browser runs it 2020 to 2025: five years of nothing nobody writes it; everything runs on it Firefox on Linux, in a browser tab C and C++ compile to it at near-native speed desktop programs compiled for the web the browser's VM becomes the OS 1995 2005 2015 2025 2035

One of the most impressive creations I’ve managed to build leveraging nixpkgs-multiverse is https://trynix.dev.

It still baffles my mind that I can run any Nix package, over 300,000 distinct package versions, straight from my browser. Truly insane capability. I was however a little dismayed at the speed of the QEMU emulation in the browser. It was slow enough that the creation tipped more towards novelty than practicality.

I woke on November 20th and saw Domen Kožar sharing a single message in our TacoSprint Discord channel: unkernel.dev

A message from Domen sharing the website unkernel.dev on a Discord channel

It was the fast browser Linux experience I had sought to achieve, but with Nix.

Aside What is unkernel? It is Linux compiled to WebAssembly, allowing the kernel and system components to run at wasm speed while only user programs are emulated. It was published by Pooya Parsa on November 19th, 2026.

In an AI induced manic frenzy, I adopted the new engine along with a slough of long-wished features almost immediately.

1980-01-01T00:00:00+00:00 image/svg+xml Matplotlib v3.10.5, https://matplotlib.org/ Thu Fri Sat Sun Mon a strip that says what is loading X11 programs network sound downloads on first use GUI windows on the page unkernel ships a Wayland desktop trynix boots on unkernel by default unkernel on npm trynix unkernel

The proof is in the pudding: unkernel delivers remarkable speed improvements over qemu-wasm,11With a very healthy set of patches applied to make it even faster.  especially on first runs where kernel work dominates. The new engine is able to deliver 2x to 32x faster performance depending on the workload.22The benchmark page tracks both engines over time, measured through the real page and shell. 

1980-01-01T00:00:00+00:00 image/svg+xml Matplotlib v3.10.5, https://matplotlib.org/ 0.01 0.1 1 10 100 opencode --version python, 3M-iteration sum() python3 -c 'print(1)' jj --version rg --version hello 2x faster 3x faster 5x faster 10x faster 10x faster 32x faster seconds, first run (log scale) qemu-wasm unkernel

JavaScript & WebAssembly nirvana.

Amazingly not only does the kernel boot quickly, it also enables networking, full-fledged graphical and audio experiences directly in the browser.

Windows. A program’s Wayland surfaces are composited in the page by wland, and they float over the terminal you started them from.

trynix.dev in a browser, with xeyes, an X11 program, in a window over the console

GL. The VM includes a minimal Mesa build with only the virgl driver, compiled to WebAssembly, rendering through your browser’s WebGL2.

trynix.dev in a browser, with es2gears drawing through WebGL2 in a window over the console, and the terminal reporting about 60 frames a second

Sound. The VM has an ALSA sound card, and can play audio through your browser.

trynix.dev in a browser, with espeak-ng typed at the prompt and the console bar saying "sound: click to play"

Network. curl, git clone and pip install work. Each TCP connection goes over one WebSocket to a Wisp relay.33Thank you to @_pi0_ for adding trynix.dev to his Wisp relay allow-list. 

trynix.dev in a browser, with curl in the guest printing a live San Francisco weather report from wttr.in

The best joke in Bernhardt’s talk is a browser running inside another browser: the Windows GIMP under Wine, in Chrome, in Firefox. Of course, I had to try it with trynix. 😈

1980-01-01T00:00:00+00:00 image/svg+xml Matplotlib v3.10.5, https://matplotlib.org/ GIMP Wine X Windows CC asm.js Chrome Cacao CC asm.js Firefox trynix.dev Firefox Wayland Linux WebAssembly trynix Firefox Wayland Linux WebAssembly trynix Firefox Bernhardt's 2035, drawn in 2014 trynix, November 2026

Here is Firefox in trynix, and it loading trynix.dev, and then loading Firefox again inside itself.44Do not be too overjoyed. It took more than an hour for this to render. 

trynix.dev in a browser, booted with Firefox; that Firefox shows trynix.dev booting Firefox again, and the inner Firefox shows trynix.dev

Sit and bask in that insanity. That is Firefox, on Linux compiled to WebAssembly, in a Firefox tab, loading the site and then loading Firefox again inside itself. 🤯

2035 came early.