- Paperback: 388 pages
- Publisher: O'Reilly Media; 1 edition (May 21, 2016)
- Language: English
- ISBN-10: 1491922060
- ISBN-13: 978-1491922064
- Product Dimensions: 1 x 7 x 9 inches
- Shipping Weight: 1.4 pounds (View shipping rates and policies)
- Average Customer Review: 3.4 out of 5 stars See all reviews (9 customer reviews)
- Amazon Best Sellers Rank: #459,299 in Books (See Top 100 in Books)
Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your mobile phone number.
Optimized C++: Proven Techniques for Heightened Performance 1st Edition
Use the Amazon App to scan ISBNs and compare prices.
Frequently bought together
Customers who bought this item also bought
About the Author
A career technologist with broad experience in software development, Kurt has exceptional experience and skills in early stages of product development including market research, user needs analysis, and architectural design. In addition, Kurt has very deep C++ development experience. He currently works as a Software Engineer at iStreamPlanet.
If you are a seller for this product, would you like to suggest updates through seller support?
Top Customer Reviews
A few concepts I was hoping for are missing, including vectorization (SSE, AVX), which is mentioned only in passing; more depth to floating point arithmetic; better discussion of memory and cache access patterns (the handling of the CPU cache in particular is so vague that there's no takeaway message that I could apply to my code); ...
Meanwhile, there's an excessive amount of time spent on a handful of topics, including timers (why are sundials and grandfather clocks given full paragraphs?) and, as others have said, the C++ language itself.
I was hoping this book would be a reference guide once I'd finished reading it, but a lot of the material wasn't quite concrete enough for it to be useful. I would highly recommend reading Agner's manuals instead if you have knowledge of C++ already. In some places they're a little bit dated but still solid and very much grounded in computer architecture. (Do a search, they're free online.)
1. It is really for people who does not know C++. Literally half of the book is explanation what is std::string and” don’t do too much in the loop”.
2. It seems to me author himself does not understand relatively basic things about C++ optimization ( e.g. why binary search on sorted array could be faster than hash map ). Some statement such as “always move declaration of a variable out of the loop” is just incorrect.
Advise for beginners – don’t buy this book. Learn from experts: Scott Meyers, Nicolai M. Josuttis, Antony Williams, Andrei Alexandrescu, Herb Sutter …
If you are just starting with C++ and care more or less how language and STL works under the hood then this is OK book to start with.
But if you already know the language and have ever looked into the language, and STL, specification/documentation than you should avoid this one.
But let's face it, if you are jus starting you won't be interested in optimization.
Beside I have found few errors in this book, unless some facts were purposely omitted by the author to prove his point.