-
Book Overview & Buying
-
Table Of Contents
Software Architecture with C++ - Second Edition
By :
After ensuring the security of a system’s code, dependencies, and environment, we now turn to another critical quality attribute in modern software systems—performance. The most common reasons to choose C++ as a key programming language for a project are its high performance, fine-grained control over system resources, and object-oriented features. Moreover, C++ applications have a small memory footprint and are energy efficient. These features make C++ highly competitive with other performance-oriented languages such as C, Rust, Ada, Go, C#, or Java.
This chapter focuses on increasing the performance of C++ software through performance measurement and practical coding techniques. We’ll start by exploring tools for measuring performance. We’ll then show you a few techniques for increasing single-threaded compute speed. Next, we’ll discuss how to make use of parallel computing. After that, we’ll show how you can use C++20’...