EmScripten Merges Its Speedy "Fastcomp" Backend

Written by Michael Larabel in Programming on 21 April 2014 at 08:54 AM EDT. 4 Comments
PROGRAMMING
EmScripten, the innovative project for turning C++ code into JavaScript that can be run within web-browsers, has merged its brand new LLVM compiler back-end that is faster and also yields other benefits.

Fastcomp is the name of EmScripten's new LLVM C++ back-end. Fastcomp lives outside of the LLVM tree (along with some other EmScripten-designed LLVM patches) but aims to provide noticeable benefits over its original compiler back-end.

The new Fastcomp compiler core/back-end is more streamlined, tuned around producing ASM.js code, is much faster (around four times faster), uses less system memory, and has other improvements too. The JavaScript generated by Fastcomp is also slated to be better than its original compiler core. The downside to this work though is that this LLVM code is out-of-tree and doesn't work with a stock build of LLVM for right now.

More details on this new EmScripten code for turning C++ into JavaScript for the web can be found via the EmScripten mailing list and extensive information about Fastcomp can be found via the EmScripten Wiki.
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