Competing browser makers, led by Mozilla’s Firefox engineers, made a surprising revelation last week: They’ve been secretly working on a joint project that could vault the Web into its next stage of evolution.
“I’m happy to report that we at Mozilla have started working with Chromium, Edge and WebKit engineers on creating a new standard, WebAssembly,” Luke Wagner, one of the project’s leaders, wrote in a blog post.
The immediate effect of WebAssembly (known as “wasm” for short) is that it should make online browsing faster. But that may be its least exciting benefit.
The standard could give developers the ability to take powerful, processor-hungry experiences—the type that has been primarily restricted to desktop software—and make them work well online. WebAssembly shouldn’t overcomplicate development, either. On the contrary, it streamlines the process, making Web-app creation easier.
See also: How Asm.js Could Transfigure PC Gaming
That has deep implications in today’s app-obsessed world. All too often, developers and users are forced to pick hardware-oriented sides—Apple’s iOS and OS X, Google’s Android, Microsoft’s Windows, or another platform. If WebAssembly works to usher in powerful Web apps, developers tired of making (or remaking) apps to suit specific platforms could have a way off the porting merry-go-round.
The most promising aspect thus far: The standard won’t have to fight for support. Thanks to its origins as a collaboration between Web-standards rivals, the project will arrive with support from the major browsers already baked in.
Crossing The Wasm
When it comes to technical standards, adoption is no small matter. Some standards can age or even die on the shelf, waiting for widespread support. Take wireless charging, for instance.
Fighting between three major organizations, each championing a different approach, has kept the tech makers from rallying behind a particular one. Although two consortia have merged recently, the fight’s still not over.
In contrast, WebAssembly has a dream team of Chromium, WebKit and Edge browser engineers behind it, making it destined for widespread support from the world’s leading browsers—namely Google’s Chrome; Apple’s Safari; and Microsoft’s Internet Explorer replacement, Edge; as well as Mozilla’s Firefox.
Such collaboration among rivals seems remarkable, especially in the highly competitive world of technology. But it also reminds us what can be accomplished when smart people put their minds together. WebAssembly stands to offer Web applications with desktop-class performance across categories—from advanced gaming, video editing, even virtual-reality (VR) activities. And users would be able to access those apps from anywhere, without fussing with downloads or software installations.
That could give a big boost to technologies like virtual reality. Developers would have numerous ways to bring their projects to the public, while users get more to enjoy. (That’s one reason for YouTube’s new support for 360-degree videos.)
WebAssembly’s technical underpinnings could give developers even more reason to cheer.
Mozilla and its new pals have given developers a binary format for the Web. They get access to low-level building blocks, so they can essentially construct whatever they want.
[W]ith co-evolution of JS and wasm, in a few years I believe all the top browsers will sport JS engines that have become truly polyglot virtual machines. I predict that JS over the same timespan will endure and evolve to absorb more APIs and hardware-based affordances — but not all, where wasm carries the weight.
WebAssembly may still be in its early stages, but its potential already seems big. Hopefully the reality will match the promise, because a faster, more efficient—and more powerful—Web just can’t get here fast enough.
Photo courtesy of Shutterstock