I was blown away by how compact and clean the generated code is o_O If coded carefully, all the abstraction has no impact at all! I often read a lot that "modern" C++ (by that I mean all these extensions trying to mimic C#) was extremely well compiled, and that it was not necessarily heavier than plain C. Incredibly, this is true!!! The variadic recursive template being compiled to, basically, poke commands is just wizardry...
Ron GilbertJan 30, 2020
It is stunning how good modern compilers are at optimization. I often use https://www.godbolt.org/ to test out code and see how well it optimizes. You can spend hours on that site.
I often read a lot that "modern" C++ (by that I mean all these extensions trying to mimic C#) was extremely well compiled, and that it was not necessarily heavier than plain C. Incredibly, this is true!!!
The variadic recursive template being compiled to, basically, poke commands is just wizardry...