Unlocking Modern CPU Power - Next-Gen C++ Optimization Techniques - Fedor G Pikus - C++Now 2024

https://www.cppnow.org --- Unlocking Modern CPU Power - Next-Gen C++ Optimization Techniques - Fedor G Pikus - C++Now 2024 --- This talk dives into how the latest CPU advancements from Intel and AMD impact performance and code optimization. While not C++-specific, these changes are often more relevant for the C++ programmers who, in high-performance systems, often take direct control of memory management and utilization of computational resources. As processors evolve with more cores and complex features, understanding these changes is crucial for writing high-performance C++. We'll cover why optimizations that worked well on older hardware might not be as effective on new CPUs and how to adjust your C++ code to take full advantage of the latest processor features. We'll start by looking at what's new in the latest CPU architectures and why these changes matter for C++ programming. This includes discussing core counts, cache and memory hierarchies, and instruction set extensions, and how they influence performance. Next, we'll tackle the issue of benchmarking. Traditional methods might not give the full picture on modern hardware, leading to misleading conclusions about code performance. We'll explore better ways to measure how your code performs on the latest processors. The core of the talk will focus on optimizing C++ for these new CPUs. This includes strategies for effective parallelism, optimizing memory access, and making the most of hardware-specific features. We'll go through practical examples to show how these optimizations can be applied in real-world C++ code. --- Slides: https://github.com/boostcon/cppnow_pr... --- Fedor Pikus Fedor G Pikus is a Technical Fellow and head of the Advanced Projects Team in Siemens Digital Industries Software. His responsibilities include planning the long-term technical direction of Calibre products, directing and training the engineers who work on these products, design, and architecture of the software, and researching new design and software technologies. His earlier positions included a Chief Scientist at Mentor Graphics (acquired by Siemens Software), a Senior Software Engineer at Google, and a Chief Software Architect for Calibre PERC, LVS, and DFM at Mentor Graphics. He joined Mentor Graphics in 1998 when he made a switch from academic research in computational physics to the software industry. Fedor is a recognized expert in high-performance computing and C++. He is the author of two books on C++ and software design, has presented his works at CPPNow, CPPCon, SD West, DesignCon, and in software development journals, and is also an O'Reilly author. Fedor has over 30 patents and over 100 papers and conference presentations on physics, EDA, software design, and C++ language. --- C++Now 2025 - 28th April - 2nd May C++Now is an annual onsite international C++ programming and coding conference held in Aspen, Colarado. For all C++ developers, C++ software engineers and those involved with the C++ language, CppNow provides an indepth and technical content provided by the best and brightest C++ experts of the C++ world. Annual CppNow Conference - https://www.cppnow.org   / cppnow     / cppnow     / cppnow     / cppnow   https://mastodon.social/@cppnow think-cell develops one of the world’s leading PowerPoint applications, with C++ at the core of everything we build, from layout algorithms to deep integration with Microsoft Office. Interested in working on challenging C++ problems with real-world impact? Explore our open roles: https://www.think-cell.com/en/career/... --- Videos Filmed & Edited By Bash Films: https://bashfilms.com/ YouTube Channel Managed & Optimized By Digital Medium Ltd: https://events.digital-medium.co.uk --- #boost #cpp #cpu #cppprogramming #cplusplus

Investigating Legacy Design Trends in C++ & Their Modern Replacements - Katherine Rocha  C++Now 2024
▶︎

Investigating Legacy Design Trends in C++ & Their Modern Replacements - Katherine Rocha C++Now 2024

C++ Type Erasure Demystified - Fedor G Pikus - C++Now 2024
▶︎

C++ Type Erasure Demystified - Fedor G Pikus - C++Now 2024

C++11 to C++23 in the C++ Memory Model - Alex Dathskovsky - C++Now 2024
▶︎

C++11 to C++23 in the C++ Memory Model - Alex Dathskovsky - C++Now 2024

Why Your API Works Locally But Fails in Production
▶︎

Why Your API Works Locally But Fails in Production

Non-Uniform Memory Architecture (NUMA): A Nearly Unfathomable Morass of Arcana - Fedor Pikus  CppNow
▶︎

Non-Uniform Memory Architecture (NUMA): A Nearly Unfathomable Morass of Arcana - Fedor Pikus CppNow

When Nanoseconds Matter: Ultrafast Trading Systems in C++ - David Gross - CppCon 2024
▶︎

When Nanoseconds Matter: Ultrafast Trading Systems in C++ - David Gross - CppCon 2024

Zero-Cost Abstractions in C++ - High Performance Message Dispatch - Luke Valenty - C++Now 2024
▶︎

Zero-Cost Abstractions in C++ - High Performance Message Dispatch - Luke Valenty - C++Now 2024

code::dive conference 2014 - Scott Meyers: Cpu Caches and Why You Care
▶︎

code::dive conference 2014 - Scott Meyers: Cpu Caches and Why You Care

CppCon 2018: Fedor Pikus “Design for Performance”
▶︎

CppCon 2018: Fedor Pikus “Design for Performance”

CPU Architectures Explained
▶︎

CPU Architectures Explained

Understanding Compiler Optimization - Chandler Carruth - Opening Keynote Meeting C++ 2015
▶︎

Understanding Compiler Optimization - Chandler Carruth - Opening Keynote Meeting C++ 2015

Dependency Injection in C++ - A Practical Guide - Peter Muldoon - C++Now 2024
▶︎

Dependency Injection in C++ - A Practical Guide - Peter Muldoon - C++Now 2024

CppCon 2017: Fedor Pikus “C++ atomics, from basic to advanced.  What do they really do?”
▶︎

CppCon 2017: Fedor Pikus “C++ atomics, from basic to advanced. What do they really do?”

C++ Super Optimization: 1000X Faster
▶︎

C++ Super Optimization: 1000X Faster

C++ Reflection - Back on Track - David Olsen - C++Now 2024
▶︎

C++ Reflection - Back on Track - David Olsen - C++Now 2024

C++ Should Be C++ - David Sankel - C++Now 2024
▶︎

C++ Should Be C++ - David Sankel - C++Now 2024

Creator of C++: Bell Labs, Negative Overhead Abstraction, Mistakes | Bjarne Stroustrup
▶︎

Creator of C++: Bell Labs, Negative Overhead Abstraction, Mistakes | Bjarne Stroustrup

Concurrency in C++: A Programmer’s Overview (part 1 of 2) - Fedor Pikus - CppNow 2022
▶︎

Concurrency in C++: A Programmer’s Overview (part 1 of 2) - Fedor Pikus - CppNow 2022

Modern Architecture 101 for New Engineers & Forgetful Experts - Jerry Nixon - NDC Copenhagen 2025
▶︎

Modern Architecture 101 for New Engineers & Forgetful Experts - Jerry Nixon - NDC Copenhagen 2025

*(char*)0 = 0; - What Does the C++ Programmer Intend With This Code? - JF Bastien - C++ on Sea 2023
▶︎

*(char*)0 = 0; - What Does the C++ Programmer Intend With This Code? - JF Bastien - C++ on Sea 2023