Work

Migrating large codebases to C++ Modules

Year: 2020
Type: conference-paper
Abstract: ROOT has several features which interact with libraries and require implicit header inclusion. This can be triggered by reading or writing data on disk, or user actions at the prompt. Often, the headers are immutable, and reparsing is redundant. C++ Modules are designed to minimize the reparsing of the same header content by providing an efficient on-disk representation of C++ Code. ROOT has released a C++ Modules-aware technology preview, which intends to become the default for the ROOT 6.20 release. In this paper, we will summarize our experience with migrating C++ Modules to LHC experiment’s software codebases, particularly for CMS software (CMSSW). We outline the challenges with adopting C++ Modules for CMSSW, including the integration of C++ Modules support in the CMS build system and we will evaluate the CMSSW performance benefits.
Language: English
Subfield: Software
Open Access status: diamond
OpenAlex ID: W2949366388
FWCI: 0.279
Cites: 5
Cited by: 4
Related to: 10