Compiler Support for Parallel Evaluation of C++ Constant Expressions
Journal article, Peer reviewed
Published version
![Thumbnail](/bora-xmlui/bitstream/handle/11250/3146548/4268.pdf.jpg?sequence=6&isAllowed=y)
Åpne
Permanent lenke
https://hdl.handle.net/11250/3146548Utgivelsesdato
2023Metadata
Vis full innførselSamlinger
- Department of Informatics [999]
- Registrations from Cristin [11145]
Originalversjon
Annals of Computer Science and Information Systems. 2023, 35, 481-490. 10.15439/2023F4268Sammendrag
Metaprogramming, the practice of writing programs that manipulate other programs at compile-time, continues to impact software development; enabling new approaches to optimisation, static analysis, and reflection. Nevertheless, a significant challenge associated with advanced metaprogramming techniques, including the constexpr functionality introduced to C++ in 2011, is an increase in compilation times. This paper presents ClangOz, a novel Clang-based research compiler that addresses this issue by evaluating relevant constant expressions in parallel, thereby reducing compilation time.