Duetto Project Continues For Web-Based C++ Support
Written by Michael Larabel in Compiler on 17 July 2013 at 12:14 AM EDT. 13 Comments
Duetto is an alternative open-source project to EmScripten, the LLVM-based project for compiling C/C++ code-bases into JavaScript for execution by modern HTML5 web-browsers. Duetto is still LLVM-based and relies on JavaScript, but there's a few changes over EmScripten.

Duetto has been in development for some months by Learning Technologies Ltd. Duetto is similar to EmScripten in that it uses LLVM for converting C++ code into JavaScript. However, Duetto is able to convert C++ OOP programming into native JavaScript objects and Learning Technolgies also claims other speed improvements over EmScripten on Firefox and Chrome.

A developer for the company has now shared that Duetto now has a fully working libc and libc++ implementation for a standard C and C++ library, CMake/Autotool support has been integrated, and there's now full support of the DOM and HTML5 APIs. This does include use of WebGL from C++. The company has also made a small WebGL demo that utilizes the Bullet physics library.

More details on the Duetto project can be found in this blog post. The company plans to release Duetto as open-source for non-commercial use while a commercial product will also be available in the coming months.
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
Trending Reviews & Featured Articles