> It is 100% true that no compiler can prevent many (most?) performance mistakes

For C++ there is a tool called "clazy" that build upon LLVM and does AST 
matching and can point out some easy performance optimizations.

I personally am happy that this is in some extra tool, not in the compiler 
itself. That clang is also usable as a library, not only as a command-line 
utility here is definitely an enabler.

Reply via email to