WebAssembly Arrives In Chrome And Firefox

Browser vendors have made massive strides with JavaScript performance. Google kicked things off with its V8 engine, but since then, the likes of Mozilla and Microsoft have come back with snappy virtual machines of their own. But JavaScript can only take you so far. The next step is WebAssembly (wasm), which supports compilation from C/C++ and near-native performance in the browser. Both Chrome and Firefox now have wasm enabled by default.

Both Chrome 57 and Firefox 52 now come with WebAssembly enabled, allowing developers to compile applications from C or C++ (and tentatively Rust) for the web. If you’d like to see what’s possible, Mozilla has a few video available that explain and show off the platform.

WebAssembly is interoperable with JavaScript, so it’s not one or the other. That said, for high-performance applications, such as games, WebAssembly will be the way forward.

For example, Unity’s been building up support for wasm with its WebGL player, something it was forced to do when Chrome and other vendors started turning their backs on Flash and NPAPI (Netscape Plugin Application Programming Interface).

While you won’t see a mass adoption in the near future, developers are now in a position to dedicate serious resources to WebAssembly. And, once other languages are supported, like C#, the floodgates will very much be open.

Chrome Platform Status [Google]
Firefox 52: Introducing Web Assembly, CSS Grid and the Grid Inspector [Mozilla]


The Cheapest NBN 50 Plans

Here are the cheapest plans available for Australia’s most popular NBN speed tier.

At Lifehacker, we independently select and write about stuff we love and think you'll like too. We have affiliate and advertising partnerships, which means we may collect a share of sales or other compensation from the links on this page. BTW – prices are accurate and items in stock at the time of posting.

Comments


3 responses to “WebAssembly Arrives In Chrome And Firefox”