Efficient C++ Programming on Modern 64-bit CPUs, part 1 of Chapter 4
Well, I'm starting to publish (VERY DRAFT) Chapters from my (and Dmytro Ivanchykhin's) upcoming book, "Efficient C++ Programming for Modern 64-bit CPUs". Comments are extremely welcome (as before, we're committed to fixing all the issues highlighted in comments).
The first installment is the first part of Chapter 4: https://6it.dev/blog/on-cpu-physics-and-cpu-cycles-80730
In Vol. 1, the most interesting will probably be Chapter 9, with about 200 (sic!) practical de-pessimization hints.
Beware: this is not a book on optimizations (though some techniques will be covered in Appendixes A and B in Vol. 2) - this is a book on de-pessimizations; for optimizations - please refer to the excellent book by Denis Bakhvalov (though we're sure that de-pessimizations should be seen as a prerequisite for optimizations 😉).
Bracing for impact...
https://redd.it/1u3t63r
@r_cpp
Post #25411
18