Compiler Support for Parallel Evaluation of C++ Constant Expressions
Journal article, Peer reviewed
Published version
View/ Open
Date
2023Metadata
Show full item recordCollections
- Department of Informatics [982]
- Registrations from Cristin [10467]
Original version
Annals of Computer Science and Information Systems. 2023, 35, 481-490. 10.15439/2023F4268Abstract
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.