r/cpp • u/tartaruga232 MSVC user, r/cpp_modules • Mar 29 '26
Organizing C++ Module Sources
https://abuehl.github.io/2026/03/26/organizing-module-sources.htmlA quote from the blog:
The source files for a specific partition are now grouped together into a dedicated sub-directory.
Thanks in advance for your comments to this blog posting!
16
Upvotes
View all comments
Show parent comment
1
u/Paradox_84_ Mar 30 '26
I like the idea of being able to do submodules, but realistically, why not make each of them a seperate module so you can only import whatever you need?
User would still be able to do "import core;", but your internal things could do "import core.containers.array:" so yo don't depend on the entire thing and could parallelize to some degree?