会议论文详细信息
21st International Conference on Computing in High Energy and Nuclear Physics | |
Python in the Cling World | |
物理学;计算机科学 | |
Lavrijsen, W.^1 | |
Lawrence Berkeley National Laboratory (LBNL), Berkeley | |
CA, United States^1 | |
关键词: Cross languages; Dynamic behaviors; Interactive experiences; Resource ownership; State of the art; | |
Others : https://iopscience.iop.org/article/10.1088/1742-6596/664/6/062029/pdf DOI : 10.1088/1742-6596/664/6/062029 |
|
学科分类:计算机科学(综合) | |
来源: IOP | |
【 摘 要 】
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 template instantiations, and the ability to use Python from Cling.
【 预 览 】
Files | Size | Format | View |
---|---|---|---|
Python in the Cling World | 789KB | download |