A WebAssembly Back-End For The GNU Toolchain
Written by Michael Larabel in Compiler on 5 March 2017 at 07:42 AM EST. 6 Comments
COMPILER --
The WebAssembly efforts so far have been centered around making use of the LLVM compiler infrastructure, but now there are patches for providing partial WASM support atop the GNU toolchain.

Pip Cet announced this weekend the work he's been doing on WebAssembly support within GCC, Glibc, and Binutils. Pip explained, "This binutils port produces and deals with ELF files containing WebAssembly code; WebAssembly modules (in the WebAssembly object file format) can be output using special linker scripts and -Obinary, but they cannot be used as input for any of the binutils programs at present. (While the gcc port, in particular, makes some decisions that negatively affect performance, the binutils port is quite general and should permit the assembly, linking, and manipulation of all WebAssembly code, provided it is still encapsulated in ELF files)."

More details on this WebAssembly work for the GNU toolchain via the Binutils mailing list. The code for this experimental work is hosted on GitHub.
About The Author
Author picture

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 10,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 or contacted via MichaelLarabel.com.

Related Compiler News
Popular News