3 ms·
Rust is already better than C++ for those use cases that normal, idiomatic C++ serves [RAII, templates only used for (bounded) parametric polymorphism]. However
by catnaroek 11y ago
Rust is already better than C++ for those use cases that normal, idiomatic C++ serves [RAII, templates only used for (bounded) parametric polymorphism]. However, for metaprogramming, C++ still has an edge over Rust: C++ templates are more powerful than Rust macros, and more convenient to write thant Rust compiler plugins.