So why on earth is std::string so slow to compile, if it's possible to compile this full-featured formatting library in 1/4 of the time?
EDIT:
This compiles in 1 second on an i7 laptop.
import std;
int main()
{
std::cout << "Hello World!\n";
}Also Microsof Office team has been migrating to modules, with great build improvements.
https://devblogs.microsoft.com/cppblog/integrating-c-header-...
Key takeway
"Fortunately, we were able to show a build performance improvement great enough that the team agreed to adopt header units into the Office production build system alongside msvc 17.6.6!"
Unfortunely the performance findings blogpost is still WIP.