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?

youtu.be/15QF2q66NhU?t=4852

Follow

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.

· · Web · 1 · 0 · 3

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

Sign in to participate in the conversation
Mastodon

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