r/cpp_questions • u/Tiwann_ • 9d ago
OPEN What’s the state of modules
I’ve been hearing about modules since a while now and I can’t seem to find any serious project on the internet using modules. I assume compilers still don’t fully support modules…
5
Upvotes
5
u/tartaruga232 9d ago
The MSVC compiler is pretty good now. Currently using
We've modularized our Windows app. Unfortunately, it's closed source. Parts of it are published at: https://github.com/cadifra/cadifra
We currently have 1211 C++ source files. 539 files contain the keyword sequence
export module. We have 4154 imports, 370 of these areimport std.We're using MSBuild (not CMake).