Topics include:
- The choice of platform and operating system.
- Choice of compiler and framework.
- Finding performance bottlenecks.
- The efficiency of different C++ constructs.
- Multi-core systems.
- Parallelization with vector operations.
- CPU dispatching. Efficient container class templates.
Table of contents
- Introduction
- Choosing the optimal platform
- Finding the biggest time consumers
- Performance and usability
- Choosing the optimal algorithm
- Development process
- The efficiency of different C++ constructs
- Optimizations in the compiler
- Optimizing memory access
- Multithreading
- Out of order execution
- Using vector operations
- Making critical code in multiple versions for different instruction sets
- Specific optimization topics
- Metaprogramming
- Testing speed
- Optimization in embedded systems
- Overview of compiler options
Pages : | 176 |
Size : | 3.0 MB |
Downloads: | 85 |
Created: | 2022-02-03 |
License: | CC BY-SA |
Author(s): | Agner Fog |
Others related eBooks about Optimizing software in C++
Download free course C++ Hacker's Guide, pdf file on 231 pages by Steve Oualine.
Download free course Data Parallel C++, pdf file on 565 pages by James Reinders, Ben Ashbaugh, James Brodman, Michael Kinsner, John Pennycook, Xinmin Tian.
Learn how to accelerate C++ programs using data parallelism. This open book enables C++ programmers to be at the forefro..
This book does not attempt to cover all the facets of the C++ programming language. Experi..., download free C++ Programming tutorial in PDF (766 pages) created by .
This book is an introduction to the Boost C++ Libraries. The Boost C++ Libraries complement the C++ standard and add many practical tools that can be of use to any C++ developer and in any C++ project. Because the Boost C++ Libraries are based on the C++ standard, they are implemented using state-