News for hackers. Stuff that matters.
Re:Modern C++ Won't Save Us by comex on Tuesday April 23, 2019 @05:47AM (#19726947)
Depends. Some metaprogramming features in C++ are currently ahead of Rust (values as generic parameters, generic associated types, constexpr, etc.), but Rust is ahead in other areas (procedural macros) and is working on parity in the other cases I mentioned. Meanwhile, Rust has none of C++'s legacy cruft, and its typed, trait-based generics are arguably a better foundation for metaprogramming than C++'s "dynamically typed at compile time" template system.

There are no comments on this comment yet.