vix.ing · top · new · best · stats · spec

Runtime Template Instantiation for C++

2016/11/03 by Akim Demaille, Demaille, Akim
Computer Science · Decision Sciences · #Distributed and Parallel Computing Systems #FOS: Computer and information sciences #Parallel Computing and Optimization Techniques #Scientific Computing and Data Management #Software Engineering (cs.SE)

paper · pdf · doi:10.48550/arxiv.1611.00947

openalex publication_date 2016/11/03 · openalex created_date 2025/10/10 · openalex updated_date 2026/07/28

Abstract

Performance, genericity and flexibility are three valuable qualities for scientific environments that tend to be antagonistic. C++ provides excellent support for both performances and genericity thanks to its support for (class and function) templates. However, a C++ templated library can hardly be qualified as flexible: data of unexpected types cannot enter the system, which hinders user interactions. This paper describes the approach that was taken in the Vcsn platform to add flexibility on top of C++ templates, including runtime template instantiation.

Related