3 ms·
You mean C++. C usually comes out a bit worse because it gives even less information to the optimizer. And thanks to the GNU/LLVM monoculture most languages s
by mhh__ 6y ago
You mean C++.
C usually comes out a bit worse because it gives even less information to the optimizer.
And thanks to the GNU/LLVM monoculture most languages should perform roughly the same if they have them as a target e.g. I have found that D makes its it ridiculously easy to write highly specialized code that is both readable and visible to the optimizer (I will be blogging about that part later), but I'm sure I could force the same asm out from C++ or Rust etc.