They have much more in common than either of them does with traditional headers. My point is that there are already plenty of projects out there dealing with the problems modules bring. Not that they have set up the exact build config required for C++20 modules: it's still unclear whether those will ever exist outside of the Windows ecosystem.
Fable and Sol both were unable to one-shot "replace std::format with fmt::format," on a relatively small project.
I was able to with 4 (greps+pipes+perl -p)s. E: before someone asks, at current pricing I think it would still be cheaper to let Fable/Sol cycle until it got it. But I wanted some determinism here.
I dread to think how an LLM would fumble modules, which are more involved if you want to get any benefit.
View all comments
Show parent comment
21
u/13steinj Aug 05 '26
The average person will not have to care about C++ modules until 2040 at the earliest.