Issue |
EPJ Web Conf.
Volume 245, 2020
24th International Conference on Computing in High Energy and Nuclear Physics (CHEP 2019)
|
|
---|---|---|
Article Number | 05011 | |
Number of page(s) | 7 | |
Section | 5 - Software Development | |
DOI | https://doi.org/10.1051/epjconf/202024505011 | |
Published online | 16 November 2020 |
https://doi.org/10.1051/epjconf/202024505011
C++ Modules in ROOT and Beyond
1
Princeton University, Princeton, New Jersey 08544, United States
2
CERN, Meyrin 1211, Geneve, Switzerland
3
University of Nebraska Lincoln, 1400 R St, Lincoln, NE 68588, United States
4
University of Plovdiv, Paisii Hilendarski, 236 Bulgaria Blvd, 4000 Plovdiv, Bulgaria
5
Bulgarian Academy of Sciences, Sofia, Bulgaria
* e-mail: vvasilev@cern.ch
** e-mail: david.lange@cern.ch
*** e-mail: shahzad.malik.muzaffar@cern.ch
**** e-mail: mircho.nikolaev.rodozov@cern.ch
† e-mail: oksana.shadura@cern.ch
‡ e-mail: apenev@uni-plovdiv.bg
Published online: 16 November 2020
C++ Modules, one of the new features of C++20, aim to fix the long-standing build scalability problems in the language. They provide an IOefficient, on-disk representation capable to reduce build times and peak memory usage. ROOT already employs the C++ modules technology in its dictionary system to improve performance and reduce the memory footprint.
ROOT with C++ Modules was released as a technology preview in fall 2018, after intensive development during the previous few years. The current state is ready for production, however, there is still room for performance optimizations. In this talk, we show the road map for making this technology enabled by default in ROOT. We demonstrate a global module indexing optimization which allows reducing the memory footprint dramatically for many workflows. We will report user feedback on the migration to ROOT with C++ Modules.
© The Authors, published by EDP Sciences, 2020
This is an Open Access article distributed under the terms of the Creative Commons Attribution License 4.0, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
Current usage metrics show cumulative count of Article Views (full-text article views including HTML views, PDF and ePub downloads, according to the available data) and Abstracts Views on Vision4Press platform.
Data correspond to usage on the plateform after 2015. The current usage metrics is available 48-96 hours after online publication and is updated daily on week days.
Initial download of the metrics may take a while.