In this presentation, @olafurw explores the dynamic world of programming, focusing specifically on the versatile language of C++. Drawing from his extensive experience in the gaming industry and as a Senior Software Engineer, Olafur takes the audience on an engaging journey. During the presentation, Olafur generously shares code snippets and explained optimization techniques, providing practical insights and highlighting tools to improve code efficiency and performance. Blueprint of important topics: * Understanding L values and R values in C++ * Introduction to the std::move function * Demonstration of the copy constructor and move constructor * Efficiency and memory management in C++ * Importance of cache memory in performance optimization *Structuring data in memory for performance * Understanding the layout of code * CPU operations * Instruction packing and reordering * Triviality in C++ * Playing games programmatically * Deterministic games * Approval testing * Running games without graphics * Game loop Olafur Waage Github : https://github.com/olafurw #opencv #opencvpython #cmake #vcpkg #cplusplus 00:06 Introduction 07:48 Part1: Compiler explorer 16:07 Part 2 : Value Semantics 19:50 Constructors 20:45 std::move 32:45 Part 3: Cache 43:36 Cache Speed 55:40 Demo 1 59:25 Part 4 : Triviality 01:16:01 Return Value Optimization 1:20:58 Part 6: Misc 1:39:55 Game hacking 1:40:09 level 1 Doom 1:48:42 Level 2 Bejeweled 3 2:06:57 Level 3 VVVVVV 2:26:23 Github Links 2:26:54 End