If you don't have time for another lengthy #CppCon talk Bjarne Stroustrup, just watch the answer from this question:
Q: Can you talk about how optimizing code in the '80s was different from today?
https://youtu.be/15QF2q66NhU?t=4852
#coding #programming #cpp
@codewiz It was fun when you could actually understand your CPU.
Ok, and if you're _really_ short of time, here's the 30 seconds summary:
1. Don't read too much memory, and when you read it, read it in a predictable way.
2. Low-level optimization I would rather leave to the optimizers. There's so much dynamic going on that you don't understand, that you're probably going to pessimize your code by trying to optimize it.
#cpp #coding #programming