Cling: An Interactive, JIT-Based C++ Interpreter
Written by Michael Larabel in Compiler on 16 September 2013 at 10:42 AM EDT. 5 Comments
After writing about ClangFormat yesterday as an interesting LLVM project that leverages Clang to automatically reformat C/C++ source-code, a Phoronix reader wrote in about another interesting project, Cling. Cling is an interactive C++ interpreter that uses Clang for Just-In-Time compilation.

Phoronix reader Nicola Mori wrote in about Cling as a CERN research project that's interesting and worthy of a shout out.

Cling is an LLVM/Clang-based C++ interpreter with the advantages according to its developers being a command-line prompt and its using JIT compilation of the C++ code. The ultimate desire is to have a contemporary, high-performance alternative C++ interpreter for their ROOT project.

With leveraging the Clang compiler front-end, Cling can already handle all of the C++ code supported by upstream. The Cling project has been going on for a few years and it's making good headway as a C++ interpreter as shown by their own performance study, plus other data available from the project web-site.

For those wanting to learn more about the Cling C++ interpreter, visit CERN.ch.
About The Author
Author picture

Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via Twitter or contacted via MichaelLarabel.com.

Related Compiler News
Popular News
Trending Reviews & Featured Articles