If you don't have time for another lengthy 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?

· · Web · 1 · 2 · 6

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.

@codewiz It was fun when you could actually understand your CPU.

Sign in to participate in the conversation

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!