2 ms·
C++20 is as big an advance as 11 was, and is taking as long to penetrate. Editors all know C++ now. Generic lambdas in C++14 made coding fun. Template metaprog
by ncmncm 5y ago
C++20 is as big an advance as 11 was, and is taking as long to penetrate.
Editors all know C++ now. Generic lambdas in C++14 made coding fun. Template metaprogramming is hardly ever needed or useful anymore. Builds got faster with module support (essentially standardized precompiled headers), and also ccache and ninja. As Concepts penetrate, error messages get radically better.
Valgrind is increasingly unnecessary, as use of op new vanishes.
- flumpcakes 5y agoOne of the most interesting changes to me is how much they are pushing metaprogramming into the language itself _without_ a lot of the traditional annotations that went with TMP before. For example, annotating a parameter with 'auto' instead of the typename T preamble.
- ncmncm 5y agoTemplate metaprogramming was always known as a hack, no more so than among people obliged to do it. Most of the things it was used for are now done with core language facilities designed for the job, and coded in compiled C++ instead of interpreted template flailing, so fast.