ClangOz: Parallel constant evaluation of C++ map and reduce operations

Interest in metaprogramming, reflection, and compile-time evaluation continues to inspire and foster innovation among the users and designers of the C++ programming language. Regretably, 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 analysed parallel map operations, but were unable to consider reduction operations. Thus we also introduce parallel reduction functionality, alongside two additional benchmark programs.

Authors

Institutions

Publication Details

Journal
Journal of Computer Languages
Published
2024-10-10
DOI
https://doi.org/10.1016/j.cola.2024.101298
Primary Topic
Parallel Computing and Optimization Techniques
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

ClangOz: Parallel constant evaluation of C++ map and reduce operations

Paul Keir, Andrew Gozillon
1 links
Journal of Computer Languages
Parallel Computing and Optimization Techniques
article

ClangOz: Parallel constant evaluation of C++ map and reduce operations

Paul Keir, Andrew Gozillon
article en

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. Regretably, 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 analysed parallel map operations, but were unable to consider reduction operations. Thus we also introduce parallel reduction functionality, alongside two additional benchmark programs.

Journal of Computer LanguagesVol. 81
University of the West of Scotland (GB)
Royal Society of Edinburgh
Openalex Percentile: Top 82%
Parallel Computing and Optimization Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

ClangOz: Parallel constant evaluation of C++ map and reduce operations — Paul Keir, Andrew Gozillon · Journal of Computer Languages (2024) | TGRS Research Map | TGRS