“I think web browsers will be more like a VM that can run any kind of code compiled to them instead of being forced to render only HTML and JavaScript.”
Normalized claim: Web browsers will adopt virtual-machine architectures capable of running arbitrary compiled code rather than being limited to HTML and JavaScript.
What actually happened
Major web browsers adopted WebAssembly (Wasm), a low-level virtual stack machine capable of executing compiled code from languages like C and C++ inside the browser alongside HTML and JavaScript.
WebAssembly was first released in March 2017 and supported across all major browsers by late 2017, functioning as a virtual stack machine running compiled binary code directly in web browsers within the target window.
Verified public sources
- WebAssembly ↗ — First released in March 2017, WebAssembly defines a portable binary code format executed client-side in a low-level virtual stack machine inside the user's web browser.
In-browser virtual machines running compiled bytecode directly enabled the modern WebAssembly ecosystem.
Believing browsers would bypass the JavaScript runtime to execute compiled bytecode ran counter to typical contemporary thinking.
Accurately and specifically details the architectural change from script rendering to a bytecode-executing VM.
Part of recurring topic cluster: WebAssembly Adoption in Desktop and Web Apps →