What's the difference between just-for-fun demo hacks, and serious carefully designed large-scale software architecture? It's the quick-and-dirty jobs that end up transforming computing.
A blog post earlier this week called 2035 came early led the Reg FOSS desk down what we thought was a fascinating, and possibly quite scary, rabbit-hole… but it turned out to be an entire warren. We thought we were still in 2026, but in turns out that in some ways, tech just leaped forward a decade.
To try to convey the point of this blog post – why what had been just a fun clever little hack has the potential to take half a century of OS and hypervisor design and throw it out of the nearest window – will take quite a lot of unpacking. If you bear with us, we will try to walk you through it. To get started, we need to go back a decade or more. Stick with this: there are laughs, as well as hammers taken to beloved ideas.
The year of 2035 and the ideas around that come from a remarkable talk by Gary Bernhardt of Destroy All Software, which is both funny and highly educational. It will really massively assist understanding what this article and the technology is all about if you have the time to watch the talks. The Reg FOSS desk is not at all fond of spoken-word video as a medium – we much prefer to read than listen – but the three talks we're going to mention are golden, among the very best presentations this century in all of computing and IT. Seriously, they are worth your time.
As a preface, before we go into Bernhardt's half-hour information-dense talk, let's warm up with a four-minute funny one. But first, let's look at the context for that.
Step 0: JavaScript is the language of web programming
In 2009, Jeff Atwood laid this out in an article called All Programming is Web Programming.
It's still coming true today. Software is getting very blurred around the edges. The entire SaaS industry means that massive organizations run on web apps. Tech like Electron embeds a web browser inside JavaScript apps built in Node.js, while Progressive Web Apps make websites look like local program windows. The most popular desktop Linux in the world is ChromeOS Flex, which doesn't support local native applications at all. Everything is browser windows, even the desktop.
It's all built in JavaScript. And yet…
Step 1: JavaScript is kind of weird and kind of bad.
Bernhardt made this case in 2012, with a celebrated lightning talk called Wat, from the CodeMash conference in 2012.
Wat walks through a whole list of examples of how JavaScript is a very strange programming language and does very strange things that are not at all what you might expect. Some of the jokes will make more sense to programmers, but we reckon anyone who has ever fought with a recalcitrant bit of software will get some laughs from it – and that probably applies to all readers of The Register.
Step 2: JavaScript is in the process of conquering the world.
Bernhardt moved on to much bigger ideas at PyCon 2014, in a much deeper talk called The Birth & Death of JavaScript.
We do recommend that you watch it – you can right-click the video and speed playback up if you wish – but first, some context.
This talk is not what it seems. This is a talk delivered in 2014, which as we write is 12 years ago. However, the talk purports to be a historical one, given in 2035, looking back at how software developed over the last 20 years. As you read this, 2035 is nearly a decade in our future… but the conceit of the talk is that it's looking back from 21 years ahead.
2014 was quite a while ago. It's the year Malaysia Airlines flight MH370 disappeared, and following Ukraine's Maidan revolution, Russia invaded Crimea.
So the perspective of Bernhardt's fanciful talk is the history of the period 2014 to 2035. The talk makes some crazy predictions about the spread of JavaScript – which by 2035 is a near-forgotten historical artifact, which Bernhardt emphasizes by consistently mispronouncing its name. Currently, in 2026, we are about half way there, chronologically speaking – but one of the surprising aspects is that quite a lot of the tech predictions in the talk have already come true. This 2014 talk already looking eerily predictive. Saying that, the talk says it takes place after some unspecified global disaster, which might be World War 3 or something else. That's looking not improbable, too.
The talk says that because JavaScript is both bad, and wildly popular, it enabled Asm.js – enabling compilers for any language to target browsers' Javascript runtimes. In 2015, Asm.js evolved into Wasm, which is very real. When The Register introduced Wasm, our title almost paid homage to Bernhardt's – we referred to JavaScript creator Eich's latest project: KILL JAVASCRIPT.
Step 3: Wasm replaces JavaScript, ending all platform rivalries
By 2022, as we reported, Wasm was able to support LibreOffice. A few years later, we got a demo of this working as a web page plugin. Wasm is here, it's surprisingly fast, and it turns some of Bernhardt's talk into reality: it dispenses with the actual programming language-level part of JavaScript, and turns it into the mother of all cross-platform runtimes.
Which brings us to the practical upshot, and how Bernhardt's predictions continue to come true. LibreOffice is bigger than the Linux kernel now. If you can run a gigabyte of LibreOffice in a web page with just a few seconds' interruption, then it is no problem to run a whole-system emulator. The Internet Archive uses this to run vintage games, and as we reported in 2022, the former MacOS9.app site used emulation to boot and run real old versions of classic MacOS in the browser. That has now turned into Infinite Mac, and it's no longer limited to Classic MacOS: today, it can run NeXTstep, early development versions of what became Mac OS X, and as of last month it even runs BeOS.
The more perceptive reader may have already foreseen where this is going.
Step 4: Wasm replaces containers and hypervisors
On November 15th, Iranian developer Pooya Parsa announced his Unkernel project on X. By November 19th, he published v0.2. (As given away by the lengthy README on its Github, it's LLM-assisted.) Unkernel boots a real Linux kernel inside a Arm64 runtime, written in Zig and compiled to Wasm.
When you visit the Unkernel.dev page, it boots Debian 13, on a real Linux kernel, running inside your browser tab. It has 2 GB of RAM and two virtual CPU cores. It has a very simple GUI, using Wayland; press Super+K for the app launcher. Which means that, yes, you can run Doom on it.
This is one of the core technological predictions of Bernhardt's talk, 12 years ago. Why bother with a hypervisor when you can just compile to Wasm and boot the identical binaries on anything – Arm, x86, RISC-V, whatever. "Run what ya brung," as the drag-racing fraternity says.
Bernhardt predicted that by the end of the 2020s, everyone would target a platform he called METAL: what's now called Wasm, right in the OS kernel – rather than targeting old-fashioned 20th century operating systems. Well, now that developers have access to LLMs to speed up the tedious "writing code" stage of implementation, that enables them to turn fever dreams into reality faster than ever.
In his post 2035 came early, Farid Zakaria introduces Trynix. Rather than running Debian on the Unkernel, it runs NixOS instead, with all of the vast Nix multiverse of nearly a third of a million programs and versions. It has Wayland, supports OpenGL and ALSA sound, so it can run GUI and media software. And on FOSS desk's 15-year-old iMac, it runs Doom. On a slightly newer machine, we successfully launched Firefox on Linux, inside Chrome on Linux.
True, Doom is not an immensely useful application for this technology, but another example is Michael Lohr's SideBySide. A single browser tap contains three parallel panes, containing Firefox, Chromium, and the WebKit-based Epiphany. Enter a URL and it opens it in the big three browser engines, simultaneously.
In 2019, Docker founder Solomon Hykes said "If WASM+WASI existed in 2008, we wouldn't have needed to create Docker." Well, rather sooner than Bernhardt predicted, it looks like that is starting to come true.
Zakaria followed up "2035 came early" a couple of days later with a post introducing tabc, and the blog post's title is the spoiler: Browser tabs as a container runtime. On macOS this lets developers run real Linux containers, without a hypervisor or virtual machine.
This vulture is tends to prefer older machines, and while impressive, this stuff really makes them show their age, but even thought we personally have no burning need for such tech, we can still see the potential uses.
What is old is new again
The core idea here is that accidentally, a cross-platform runtime has evolved out of industry trends, rather than by boffins sitting down and trying to plan it. Which is, of course, how microcomputers happened, and indeed, Unix, as well as MS-DOS and Windows. Dennis Ritchie and Ken Thompson, the minds behind Unix, along with Go creator Rob Pike, did try to do this in the 1990s. First, Plan 9 from Bell Labs: the core of Unix, but simplified and extended, with a GUI, networking, clustering, and containers, right in the kernel. Then they extended that with platform-independent binaries, in the form of Inferno. We wrote about earlier this week when describing the new 64-bit version InferNode.
It could be that this will come true, but it will be Wasm instances that do it. Veteran industry luminary Don Hopkins, a regular correspondent, suggested to us a while ago that instead of Wayland, or re-creating NeWS, we put JavaScript on bare metal as the display server of the future. That idea suddenly seems to fit right in.
On the other hand, given the way that El Niño 2026 is developing, perhaps we should collectively focus on CollapseOS instead. ®
Bootnote
We think there is another important influence on Bernhardt's talk, and the conceit of giving a presentation which is happening at a different time to the actual year it's presented.
In 2013, one year after "Wat" and one year before "The Birth & Death of JavaScript", Bret Victor gave an amazing presentation called The Future of Programming. If you prefer to read, there's also an annotated transcript, but you will miss out. Part of the genius of the talk (and we use the word literally) is that in 2013, Victor acted as if he were presenting in 1973, with an appropriate outfit – and era-appropriate presentation technology: transparencies and an overhead projector. The talk lays out what was, in 1973, obviously going to be the future of software and its development, while really what it is doing is parodying all the mistakes that the computer industry made from 1973 for the following 40 years.