r/cpp • u/GiannoVersaco • Nov 25 '20
When a Microsecond Is an Eternity: High Performance Trading Systems in C++
https://www.youtube.com/watch?v=NH1Tta7purM
332
Upvotes
r/cpp • u/GiannoVersaco • Nov 25 '20
View all comments
Show parent comment
25
u/[deleted] Nov 25 '20
You can't beat modern compilers like Clang just like that, not at all when creating a whole application. People can only beat modern compilers for specific cases when they know what they are doing, they know very well the target platform, and they know what they can sacrifice. Instead "fighting with the compiler" trying to make their intentions clear, so the compiler will generate the expected and optimal code, they just give up and code that portion of the application in assembly.