Deep Integration: Python in the Cling World

Not scheduled


1919-1 Tancha, Onna-son, Kunigami-gun Okinawa, Japan 904-0495
poster presentation Track4: Middleware, software development and tools, experiment frameworks, tools for distributed computing


Wim Lavrijsen (Lawrence Berkeley National Lab. (US))


The language improvements in C++11/14 greatly reduce the amount of boilerplate code required and allow resource ownership to be clarified in interfaces. On top, the Cling C++ interpreter brings a truly interactive experience and real dynamic behavior to the language. Taken together, these developments bring C++ much closer to Python in ability, allowing the combination of PyROOT/cppyy and Cling to integrate the two languages on a new level. This paper describes the current state of the art, including cross-language callbacks, automatic resource management, software transactional memory, automatic template instantiations, and the ability to use Python from Cling.

Primary author

Wim Lavrijsen (Lawrence Berkeley National Lab. (US))

Presentation Materials