Skip to content
Rota Nacional

Guides ·

C++ optimization for modern CPUs

Fedor G. Pikus presented C++ optimization techniques for modern CPUs at C++Now 2024. The post includes video and slides; use them as a starting point for study and testing ideas in your own code.

Fedor G. Pikus presented “Unlocking Modern CPU Power – Next-Gen C++ Optimization Techniques” at C++Now 2024. The post about the presentation includes links to the video and slides.

To study the material, first note the techniques the speaker discusses and the conditions in which they might be useful. The available description does not detail those techniques, so consult the presentation before attributing specific recommendations to it.

Next, choose a representative part of your program and record a performance measurement before changing it. Change one thing at a time and compare results under the same conditions; this lets you check whether an optimization helps in your case instead of assuming it will always be beneficial.

If you use AI to summarize the slides or analyze code, submit only what is necessary. Remove personal data, trade secrets, credentials, and confidential snippets, and follow your organization’s rules. Test any suggestion in your own environment before adopting it.

Get new articles

Privacy, AI engineering and security in your inbox.

Rota Nacional

Bring privacy into your workflow.

30 days, no card, with a starting quota. After that, Pix credit from R$ 5,00.

Try free