ClangOz: Parallel constant evaluation of C++ map and reduce operations
Year: 2024
Type: article
Abstract: Interest in metaprogramming, reflection, and compile-time evaluation continues to inspire and foster innovation among the users and designers of the C++ programming language. Regrettably, the impact on compile-times of such features can be significant; and outside of build systems, multi-core parallelism is unable to bring down compilation times of individual translation units. We present ClangOz, a novel Clang-based research compiler that addresses this issue by evaluating annotated constant expressions in parallel, thereby reducing compilation times. Prior benchmarks analyzed parallel map operations, but were unable to consider reduction operations. Thus we also introduce parallel reduction functionality, alongside two additional benchmark programs .
Source: Journal of Computer Languages
Authors: Paul Keir, Andrew Gozillon
Institution: University of the West of Scotland
Language: English
Subfield: Hardware and Architecture
Field: Computer Science
Domain: Physical Sciences
Open Access status: hybrid
Estimated APC paid: $2,260
Funder: Royal Society of Edinburgh
OpenAlex ID: W4403286085
