r/cpp • u/holyblackcat • Mar 09 '26
The compilation procedure for C++20 modules
https://holyblackcat.github.io/blog/2026/03/09/compiling-modules.html
103
Upvotes
r/cpp • u/holyblackcat • Mar 09 '26
View all comments
Show parent comment
1
u/tartaruga232 MSVC user, r/cpp_modules Mar 10 '26
For our UML Editor (a Windows desktop application), we have a utility package
WinUtil(https://github.com/cadifra/cadifra/tree/main/code/WinUtil). I once had a singular WinUtil module for that, but then found no advantage with it and then split it into smaller modules again. The build speed for a full rebuild remained roughly the same, but if I now change something in a WinUtil interface I do not need to rebuild our whole app anymore.import boostcertainly makes a lot of sense (likeimport std).