LLVM's Clang Adds Initial Support For WebAssembly

Written by Michael Larabel in LLVM on 7 September 2015 at 10:44 AM EDT. 14 Comments
LLVM
WebAssembly, the low-level programming language for in-browser, client-side scripting that's a joint effort by all leading web browser vendors, continues making progress.

Support for this portable bytecode that's designed to be faster than JavaScript continues being developed within LLVM. The developers from the different browser companies decided to develop an LLVM back-end as the heart of WebAssembly. They've been developing this virtual WebAssembly back-end within the LLVM tree. Now, Clang has initial support for compiling to WebAssembly.

With the latest code as of last week there's initial WebAssembly support in Clang for taking in C/C++ and emitting the WebAssembly bytecode for running within client web-browsers.

Before getting too excited, there's only basic compiling support with not any support yet for assembling or linking a WebAssembly target. The WebAssembly ABI also has yet to be finalized. For what it's worth though, the support is found via this commit to Clang and will be first released in LLVM/Clang 3.8 in H1'2016.
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