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: | 173 |
| Created: | 2022-02-03 |
| License: | CC BY-SA |
| Author(s): | Agner Fog |
Others related eBooks about Optimizing software in C++
Download free C++ language tutorial course in PDF, training file in 146 chapters and 708 pages. Free unaffiliated ebook created from Stack OverFlow contributor.
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-
This book is a modern guide for all C++ programmers to learn Threading Building Blocks (TBB). Written by TBB and parallel programming experts, this book reflects their collective decades of experience in developing and teaching parallel programming with TBB, offering their insights in an approacha
The aim of the guidelines is to help people to use modern C++ effectively. By "modern C++" we mean C++11, C++14, and C++17. In other words, what would you like your code to look like in 5 years' time, given that you can start now? In 10 years' time?
An experienced programmer accumulates a set of tools, tricks, and techniques to make his or her programs better.