Zum Hauptinhalt springen Zur Suche springen Zur Hauptnavigation springen
Beschreibung
Gain practical skills to optimize C++ programs using modern CPU architectures, memory models, and concurrency tools
Key Features:
- Apply advanced CPU, memory, and concurrency techniques to real-world code
- Design efficient thread-safe data structures using lock-free and atomic strategies
- Leverage compiler behavior and modern C++ standards for performance gains
Book Description:
Hardware stopped making your programs faster for free a long time ago. What it does instead is reward code that understands it, code written with a clear picture of how the CPU executes instructions, how memory really moves through caches, and what the compiler can and cannot do on your behalf. This book teaches that understanding, from first principles to the most advanced techniques, and shows you how to turn it into measurably faster software.
This edition is roughly half new and >60% longer. The coverage of CPU architecture (now including ARM), instruction processing, and the memory hierarchy, from caches to paging and virtual addressing, is expanded throughout. But the largest change is concurrency, which now makes up nearly half the book and is entirely rewritten: the memory model, atomic operations and atomic shared pointers, coroutine-based execution, NUMA-aware design, and a completely rewritten chapter on concurrent data structures that shows how cache coherency on modern hardware changes the established rules of lock-free programming, including advanced techniques such as helping.
Written by Fedor G. Pikus, industry leader in high-performance C++, with a foreword by Herb Sutter, this book equips you with both conceptual clarity and the hands-on techniques needed to make your software faster, leaner, and smarter.
What You Will Learn:
- Analyze and optimize CPU resource usage
- Improve memory access patterns across architectures
- Design performant multithreaded and lock-free systems
- Use atomic operations and smart pointers effectively
- Apply memory order guarantees for correctness and speed
- Evaluate compiler decisions and leverage vectorization
- Implement coroutine-based execution models
- Build APIs that scale in concurrent environments
Who this book is for:
Experienced C++ developers, performance-focused programmers, and engineers working in high-speed systems like trading platforms, games, or scientific computing. Prior knowledge of multithreading and memory management is required to make the most of this book.
Table of Contents
- Introduction to Performance and Concurrency
- Performance Measurements
- CPU Architecture, Resources, and Performance
- Memory Architecture and Performance
- Threads, Memory, and Concurrency
- Concurrency and Performance
- Data Structures for Concurrency
- Concurrency in C++
- High-Performance C++
- Compiler Optimizations in C++
- Undefined Behavior and Performance
- Design for Performance
Gain practical skills to optimize C++ programs using modern CPU architectures, memory models, and concurrency tools
Key Features:
- Apply advanced CPU, memory, and concurrency techniques to real-world code
- Design efficient thread-safe data structures using lock-free and atomic strategies
- Leverage compiler behavior and modern C++ standards for performance gains
Book Description:
Hardware stopped making your programs faster for free a long time ago. What it does instead is reward code that understands it, code written with a clear picture of how the CPU executes instructions, how memory really moves through caches, and what the compiler can and cannot do on your behalf. This book teaches that understanding, from first principles to the most advanced techniques, and shows you how to turn it into measurably faster software.
This edition is roughly half new and >60% longer. The coverage of CPU architecture (now including ARM), instruction processing, and the memory hierarchy, from caches to paging and virtual addressing, is expanded throughout. But the largest change is concurrency, which now makes up nearly half the book and is entirely rewritten: the memory model, atomic operations and atomic shared pointers, coroutine-based execution, NUMA-aware design, and a completely rewritten chapter on concurrent data structures that shows how cache coherency on modern hardware changes the established rules of lock-free programming, including advanced techniques such as helping.
Written by Fedor G. Pikus, industry leader in high-performance C++, with a foreword by Herb Sutter, this book equips you with both conceptual clarity and the hands-on techniques needed to make your software faster, leaner, and smarter.
What You Will Learn:
- Analyze and optimize CPU resource usage
- Improve memory access patterns across architectures
- Design performant multithreaded and lock-free systems
- Use atomic operations and smart pointers effectively
- Apply memory order guarantees for correctness and speed
- Evaluate compiler decisions and leverage vectorization
- Implement coroutine-based execution models
- Build APIs that scale in concurrent environments
Who this book is for:
Experienced C++ developers, performance-focused programmers, and engineers working in high-speed systems like trading platforms, games, or scientific computing. Prior knowledge of multithreading and memory management is required to make the most of this book.
Table of Contents
- Introduction to Performance and Concurrency
- Performance Measurements
- CPU Architecture, Resources, and Performance
- Memory Architecture and Performance
- Threads, Memory, and Concurrency
- Concurrency and Performance
- Data Structures for Concurrency
- Concurrency in C++
- High-Performance C++
- Compiler Optimizations in C++
- Undefined Behavior and Performance
- Design for Performance
Über den Autor
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 Design Solutions 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.
Details
Erscheinungsjahr: 2026
Fachbereich: Programmiersprachen
Genre: Importe, Informatik
Rubrik: Naturwissenschaften & Technik
Medium: Taschenbuch
ISBN-13: 9781835465189
ISBN-10: 1835465188
Sprache: Englisch
Einband: Kartoniert / Broschiert
Autor: Pikus, Fedor G.
Auflage: 2. Auflage
Hersteller: Packt Publishing
Verantwortliche Person für die EU: Libri GmbH, Europaallee 1, D-36244 Bad Hersfeld, gpsr@libri.de
Maße: 235 x 191 x 37 mm
Von/Mit: Fedor G. Pikus
Erscheinungsdatum: 28.09.2026
Gewicht: 1,287 kg
Artikel-ID: 138049036