In this chapter, we will take a closer look at Qt's underlying language and its standing in the matter of performance. We will look at the design philosophy of C++, some problematic and some good features, and the impact the recent C++ standard updates have had on program optimization. We will also discuss what compilers and other tools can do for program performance.
The topics that will be covered are as follows:
- C++ philosophy—what were Bjarne's guidelines when designing C++
- Traditional C++ optimizations—the basics we have always done
- C++11/14/17 and performance—what performance nuggets are hidden there
- What your compiler can do for you—a lot, you'd be surprised
- Optimization tools beyond compiler—because the story doesn't end there
Admittedly, an entire book could be written on these...