Hacker News new | ask | show | jobs
by afdbcreid 18 days ago
So? How is that an argument that C++ is more performant than C? It's only an argument that it's not less performant.
2 comments

Because you can write C like code, while taking advantage of templates, compile time code execution, and eventually static reflection, that prepare work ahead of time, while at the same time giving more information to optimiser passes.
It is an argument that you can make a faster C-like if you like out of C++