r/cpp • • 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.

115 Upvotes

39 comments sorted by

View all comments

Show parent comment

4

u/TSP-FriendlyFire Sep 13 '26

It mostly was based on it, but the STL has very different requirements than a standalone library. Thing is, std::format was standardized in C++20, the last revision of the introductory paper was in mid 2019, and the majority of the API was set in stone before then.

That's over 7 years ago. fmt has changed quite a bit since then.

2

u/smdowney WG21, Text/Unicode SG, optional<T&> Sep 15 '26

We also, with great controversy and complaint, made breaking changes immediately after 20 shipped. It was constexpr checking of the format spec, but it still delayed ABI freeze for some standard libraries.