Work Continues On WebAssembly For Low-Level, In-Browser Computing

Written by Michael Larabel in Mozilla on 17 December 2015 at 02:19 PM EST. 39 Comments
MOZILLA
Work continues on the WebAssembly project that's the joint effort by Mozilla, Google, Microsoft, and Apple to allow C/C++ (and potentially other languages) to target a virtual ISA that would be executed within the web-browser.

WebAssembly is a virtual ISA designed around allowing portable code, compatibility across different browsers, a small download footprint, and other traits for effective client-side browser scripting. Much of WebAssembly's development continues to happen on its LLVM back-end.

Just the other day I meant to write about WebAssembly having initial linking support inside LLVM. Now Mozilla has written a lengthy blog post about compiling to WebAssembly.

The Mozilla Hacks blog post covers a new project called Binaryen that provides a compiler infrastructure library written in C++. An alternative to using Binaryen is using the well-known EmScripten project for compiling to WebAssembly. Lastly is the experimental LLVM WebAssembly back-end with Emscripten.

More details on these different approaches for compiling to WebAssembly's binary format can be found via the Mozilla Hacks blog.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week