r/cpp • u/germandiago • Sep 13 '26
C++20 modules support: 228 projects already available to be consumed
Hello everyone.
I checked arewemodulesyet.org, which I do from time to time.
I was very positively surprised bc a couple of months ago there were 109 projects with modules support.
Now it is 228 and some of the most popular are there: fmt, ftxui, nlohmann.json and others.
So I had to share it with the community.
119
Upvotes
49
u/jube_dev Sep 13 '26
For the full information, here is what the site says: "228 of 2,613 projects complete • Estimated completion: 23 January 2085".
27
u/Horrih Sep 13 '26
Just to keep me updated : how good is the support for import std; on the big 3 compilers?
And support for tooling like cmake, clangd/clang-tidy, cppcheck, doxygen, vs intellisense?
I tried migrating a smallish project a couple of years back but things were not usable enough for our corporation 's workflow
9
u/AfroDisco Sep 13 '26
The website also take into account project with less than 10 stars so I can't say this is really useful as a number.
It might be better by keeping only the top used and still maintained repo but I'm not sure if this is done somewhere.
Still it's nice to have a big picture view of the migration.
8
u/positivcheg Sep 13 '26
I’m curious. What’s the use of fmt if STD has formatting?
2
u/TheTimBrick Sep 15 '26
Currently working on my own project using modules! Probably won't be popular enough to make that list, but I'm still proud of it regardless.
Modules on top!
7
u/TheRavagerSw Sep 13 '26
Don't waste your time on third party library support, their build script quality is terrible and module support is secondary to header only.
Fork the libs you want to use and port them to modules.
3
u/SLAidk123 Sep 13 '26
Are clangd and clang-tidy still the bottleneck? It's a great feature, but a few months ago I was writing modules in CLion and it felt like using notepad++
-7
u/arihoenig Sep 13 '26
Claude