The most important optimizations for your C++ programs – Jan Bielak – CppCon 2022

The most important optimizations for your C++ programs – Jan Bielak – CppCon 2022

HomeCppConThe most important optimizations for your C++ programs – Jan Bielak – CppCon 2022
The most important optimizations for your C++ programs – Jan Bielak – CppCon 2022
ChannelPublish DateThumbnail & View CountDownload Video
Channel AvatarPublish Date not found Thumbnail
0 Views
https://cppcon.org/

The most important optimizations for your C++ programs – Jan Bielak – CppCon 2022
https://github.com/CppCon/CppCon2022

Writing efficient programs is difficult. This is because it requires a lot of knowledge, experience and strategic thinking. There have been many talks on optimization and often they only focus on a single concept. Getting an overview of the factors that affect performance often requires many hours of research on the topic. To reduce the mental load of optimizing programs, I have selected the techniques that I think are most important. During the talk I will present them in an organized manner and give practical examples of their application.

I will first discuss what I believe to be the most important goals that efficient programs seek to achieve. Then I will present the general methods for achieving these goals. Then, for the bulk of the talk, we will discuss a few dozen performance options. For each of these, I will explain the underlying mechanism of optimization. I will avoid giving blunt guidelines to follow without explaining them. Each of the techniques has its costs, of course, and these will be discussed as well.

I will also discuss various performance traps. These are sometimes called "premature pessimizations," as opposed to the often-used term "premature optimizations." I will show examples of optimizations that do not cause any loss in the readability or maintainability of the program, and should therefore be considered performance best practices. Avoiding their use does not improve the code in any way, but does make it slower.

This talk is aimed at a diverse audience, as most members of the C++ community are likely to be interested in performance. Due to the gradual increase in the difficulty of the examples, it is suitable for amateur and professional users alike, with varying levels of experience with the language. You will use your time productively.

Jan Bielak

Jan Bielak is a student at the Staszic High School in Warsaw. His main areas of interest are physics and computer science. He is particularly interested in advanced C++ programming and physically based real-time rendering. He also runs a YouTube learning channel. He is involved in the CyberDuck project and the PaSh project. In his free time, he likes to create renderings in Blender.

Website: janbielak.com
GitHub: janekb04
YouTube: JBGraphics

Videos streamed and edited by Digital Medium: http://online.digital-medium.co.uk

#cppcon #programming #cpp

Please take the opportunity to connect with your friends and family and share this video with them if you find it useful.