News for hackers. Stuff that matters.
Re:C++ vs. Rust Build Times by bluGill on Friday January 06, 2023 @09:22AM (#34274840)
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.
Re:C++ vs. Rust Build Times by gpderetta on Friday January 06, 2023 @09:30AM (#34274929)
I suspect they will help with the parsing, but not with template instantiation cost which dominates metaprogramming.
Re:C++ vs. Rust Build Times by pjmlp on Friday January 06, 2023 @10:22AM (#34275608)
That is what external templates are for, pre-instantiate all common cases in a binary library.