Re:C++ vs. Rust Build Times
by gpderetta on Friday January 06, 2023 @08:31AM
(#34274364)
to be fair, C+ header only libraries full of advanced template metaprogramming will also slow down compilation by a few order of magnitude.
[ Parent
| on HN ]
I'm hopeful modules will come fast, they seem to fix that issue. Modules are already in C++20, but most compilers don't support them well enough yet.
I suspect they will help with the parsing, but not with template instantiation cost which dominates metaprogramming.