The Most Important Optimizations to Apply in Your C++ Programs - Jan Bielak - CppCon 2022
---
The Most Important Optimizations to Apply in Your C Programs - Jan Bielak - CppCon 2022
Writing efficient programs is hard. This is because it requires a lot of knowledge, experience and strategic thinking. There have been many talks on optimization and often each addresses a single concept. Being able to achieve a bird’s eye view of factors affecting performance often requires many hours of researching the topic. To lessen the mental burden of optimizing programs, I have picked out the techniques, I believe are most important. During the talk, I will present them in an organized manner and provide practical examples of how they can be applied.
I will first discuss what I believe are the main goals efficient programs strive to achieve. Then, I will present the general methods of achieving those goals. Then, for the majority of the talk, we will discuss a few dozen performance opportunities. For each of them, I will explain the underlying mechanism of how the optimisation works. I will avoid bluntly giving guidelines to follow without explanation. Each of the techniques naturally comes with its costs, and those will be discussed as well.
I will additionally discuss various performance pitfalls. These are sometimes called “premature pessimisations” in contrast to the often used term of “premature optimizations”. I will show examples of optimizations which do not incur any cost on program readability or maintainability and as such should be considered performance best practices. Avoiding their use doesn’t improve code in any manner, while making it slower.
This talk is intended for a diverse audience, as after all, probably most of the C community is interested in performance. It is appropriate for hobbyists and professionals alike, with varying experience with the language, due to the gradual increase in difficulty of examples. It will be a time productively spent.
---
Jan Bielak
Jan Bielak is a student at the Warsaw Staszic High School. His main areas of interest are physics and computer science. He is especially into advanced C programming and physically based real-time rendering. He also hosts an educational YouTube channel. He is involved in the CyberDuck project and in the PaSh project. In free time, he likes to create renders in Blender.
Website:
GitHub: janekb04
YouTube: JBGraphics
---
Videos Streamed & Edited by Digital Medium:
#cppcon #programming #cpp
1 view
809
313
3 months ago 00:02:46 1
Star Wars Outlaws: Official Story Trailer
3 months ago 00:02:04 1
Evacuation of the population! Thousands of homeless people, record forest fires in Venezuela
3 months ago 00:10:28 1
Painting an Iron Maiden The Trooper Eddie Statue 😱 | Behind the Scenes
3 months ago 00:03:00 1
Dead Boy Detectives | Official Trailer | Netflix
3 months ago 00:05:08 1
Mastodon - Blood And Thunder (Live at Resurrection Fest EG 2022)
3 months ago 00:01:00 1
Georg Friedrich Göndel Passacaglia Геóрг Фри́дрих Ге́ндель #shorts #composer #music #song #vokal
3 months ago 00:54:16 1
Tucker Carlson JUST Revealed The Last And Most TERRIFYING Secret We Are NOT Supposed To Know
3 months ago 00:05:30 1
Dalton Vs Knox - Final Fight Scene | ROAD HOUSE (2024) Conor McGregor, Movie CLIP HD
3 months ago 00:01:00 1
some science experiments 😍#exactfixproblem #tech #techsolutions #physics #scinceexpriment #science
3 months ago 00:22:03 1
95 Best Business Machines! Business ideas 2024 (№32)
3 months ago 00:07:16 1
Road House Arrival Scene | ROAD HOUSE (2024) Jake Gyllenhaal, Movie CLIP HD
3 months ago 00:04:01 1
Dr Funk - Roadrunner (Drop D) Marcus Miller Inspired
3 months ago 00:00:22 1
Most Brutal Metal Scream 2012
3 months ago 00:11:13 1
😱🎁The girl pried open the sparkling giant clam and harvested the largest and most beautiful pearls
3 months ago 00:08:55 1
Shout, Sister, Shout! Sister Rosetta Tharpe
3 months ago 00:11:26 1
The Shortest War EVER - Historically
3 months ago 00:39:43 1
Dvořák: Cello Concerto in B minor, Op. 104 | Tonhalle-Orchester Zürich & Anastasia Kobekina
3 months ago 00:04:51 1
Dååth - Ascension (Official Video)
3 months ago 00:06:00 1
Тюмень / Tyumen 1880-1914
3 months ago 00:02:47 1
The Platters - Only You 1955 (HD)
3 months ago 00:06:20 1
Listening to Honkai Star Rail Penacony OST be like:
3 months ago 01:14:14 1
Три месяца я слушала только эту музыку🌿 Прекрасные мелодии до слёз... Эту музыку можно слушать вечно
3 months ago 00:07:01 1
ELEGANCE LOVERS, THIS MODEL IS AMAZING..#crochet #knitting #
3 months ago 01:10:09 1
VEGANS IN DANGER with LIERRE KEITH [Plant-based Tips]