-
Book Overview & Buying
-
Table Of Contents
The C++ Programmer's Mindset
By :
This chapter focuses on the features of modern hardware and how we should incorporate this knowledge of these features into our code. There are many code samples in this chapter that focus mostly on features of x86 (64-bit) architectures. Much of the discussion applies to other architectures too (such as ARM), but some of the mechanisms we use (e.g., the cpuid instruction) are not as accessible and might require interacting with the kernel. To keep the code simple, we limit ourselves to code that runs on x86 and generic code that will run anywhere.
The code for this chapter can be found in the Chapter-04 folder of the code repository for this book: https://github.com/PacktPublishing/The-CPP-Programmers-Mindset.