All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Converting a Large Mathematical Software Package to C++20 Modules

By

vblanco

11mo ago· 2 min readenInsight

Summary

The article discusses the experience of converting a large mathematical software package written in C++ to C++20 modules, exploring the challenges, benefits, and practical implications of the conversion process.

Key quotes

· 3 pulled
C++20 has introduced a 'module' system in which packages explicitly export declarations
With a non-trivial effort, the conversion to modules is possible, resulting in a reduction in compile time for the converted library
For downstream projects, compile times show no clear trend
Snippet from the RSS feed
Mathematical software has traditionally been built in the form of "packages" that build on each other. A substantial fraction of these packages is written in C++ and, as a consequence, the interface of a package is described in the form of header files th

You might also wanna read