An Extension of C++ with Memory-Centric Specifications for HPC to Reduce Memory Footprints and Streamline MPI Development
ACM Transactions on Mathematical Software · 30.06.2026 · 52 (2) · 1-53
DOI: 10.1145/3799887 ↗Kurz gefasst
Fachartikel in der Zeitschrift ACM Transactions on Mathematical Software, online erschienen am 08.06.2026. Verfasst von Pawel K. Radtke und 3 weiteren Autor:innen. Die Arbeit nennt 59 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0).
Abstract (Originalsprache)
C++ leans towards a memory-inefficient storage of structs: The compiler inserts padding bits, while it is not able to exploit knowledge about the range of integers, enums or bitsets. Furthermore, the language provides no support for arbitrary floating-point precisions. We propose a language extension based upon attributes through which developers can guide the compiler what memory arrangements would be beneficial: Can multiple booleans or integers with limited range be squeezed into one bit field, do floating-point numbers hold fewer significant bits than in the IEEE standard, and is a programmer willing to trade attribute ordering guarantees for a more compact object representation? The extension offers the opportunity to fall back to normal alignment and native C++ floating-point representations via plain C++ assignments, no dependencies upon external libraries are introduced, and the resulting code remains (syntactically) standard C++. As MPI remains the de facto standard for distributed memory calculations in C++, we furthermore propose additional attributes which streamline the MPI datatype modelling in combination with our memory optimisation extensions. Our work implements the language annotations within LLVM and demonstrates their potential impact through smoothed particle hydrodynamics benchmarks. They uncover the potential gains in terms of performance and development productivity.
Zitieren
APA
Radtke, P. K., Barrera-Hinojosa, C., Ivkovic, M., & Weinzierl, T. (2026). An Extension of C++ with Memory-Centric Specifications for HPC to Reduce Memory Footprints and Streamline MPI Development. ACM Transactions on Mathematical Software, 52(2), 1-53. https://doi.org/10.1145/3799887
Vancouver
Radtke PK, Barrera-Hinojosa C, Ivkovic M, Weinzierl T. An Extension of C++ with Memory-Centric Specifications for HPC to Reduce Memory Footprints and Streamline MPI Development. ACM Transactions on Mathematical Software. 2026;52(2):1-53. doi:10.1145/3799887
BibTeX
@article{Radtke2026,
author = {Radtke, Pawel K. and Barrera-Hinojosa, Cristian and Ivkovic, Mladen and Weinzierl, Tobias},
title = {An Extension of C++ with Memory-Centric Specifications for HPC to Reduce Memory Footprints and Streamline MPI Development},
journal = {ACM Transactions on Mathematical Software},
year = {2026},
volume = {52},
number = {2},
pages = {1--53},
doi = {10.1145/3799887}
}
EUVIMED