website statistics Optimized C++: Proven Techniques for Heightened Performance - PDF Books Online
Hot Best Seller

Optimized C++: Proven Techniques for Heightened Performance

Availability: Ready to download

In today's fast and competitive world, a program's performance is just as important to customers as the features it provides. This practical guide teaches developers performance-tuning principles that enable optimization in C++. You'll learn how to make code that already embodies best practices of C++ design run faster and consume fewer resources on any computer--whether i In today's fast and competitive world, a program's performance is just as important to customers as the features it provides. This practical guide teaches developers performance-tuning principles that enable optimization in C++. You'll learn how to make code that already embodies best practices of C++ design run faster and consume fewer resources on any computer--whether it's a watch, phone, workstation, supercomputer, or globe-spanning network of servers. Author Kurt Guntheroth provides several running examples that demonstrate how to apply these principles incrementally to improve existing code so it meets customer requirements for responsiveness and throughput. The advice in this book will prove itself the first time you hear a colleague exclaim, "Wow, that was fast. Who fixed something?" Locate performance hot spots using the profiler and software timers Learn to perform repeatable experiments to measure performance of code changes Optimize use of dynamically allocated variables Improve performance of hot loops and functions Speed up string handling functions Recognize efficient algorithms and optimization patterns Learn the strengths--and weaknesses--of C++ container classes View searching and sorting through an optimizer's eye Make efficient use of C++ streaming I/O functions Use C++ thread-based concurrency features effectively


Compare

In today's fast and competitive world, a program's performance is just as important to customers as the features it provides. This practical guide teaches developers performance-tuning principles that enable optimization in C++. You'll learn how to make code that already embodies best practices of C++ design run faster and consume fewer resources on any computer--whether i In today's fast and competitive world, a program's performance is just as important to customers as the features it provides. This practical guide teaches developers performance-tuning principles that enable optimization in C++. You'll learn how to make code that already embodies best practices of C++ design run faster and consume fewer resources on any computer--whether it's a watch, phone, workstation, supercomputer, or globe-spanning network of servers. Author Kurt Guntheroth provides several running examples that demonstrate how to apply these principles incrementally to improve existing code so it meets customer requirements for responsiveness and throughput. The advice in this book will prove itself the first time you hear a colleague exclaim, "Wow, that was fast. Who fixed something?" Locate performance hot spots using the profiler and software timers Learn to perform repeatable experiments to measure performance of code changes Optimize use of dynamically allocated variables Improve performance of hot loops and functions Speed up string handling functions Recognize efficient algorithms and optimization patterns Learn the strengths--and weaknesses--of C++ container classes View searching and sorting through an optimizer's eye Make efficient use of C++ streaming I/O functions Use C++ thread-based concurrency features effectively

45 review for Optimized C++: Proven Techniques for Heightened Performance

  1. 4 out of 5

    Aoshi

    My low rating for this is not due to the fact that this is a bad book, but because the material presented was simpler than I hoped. In essence, there was little new here. With that aside, I do have some gripes. Despite talking about some parts of hardware (albeit not particularly in depth), little to nothing is said about branch-prediction, which is a fairly major omission. The same can be said of small string optimisation; granted this isn't something mandated by the standard, but the "big 3" co My low rating for this is not due to the fact that this is a bad book, but because the material presented was simpler than I hoped. In essence, there was little new here. With that aside, I do have some gripes. Despite talking about some parts of hardware (albeit not particularly in depth), little to nothing is said about branch-prediction, which is a fairly major omission. The same can be said of small string optimisation; granted this isn't something mandated by the standard, but the "big 3" compilers (MSVC, GCC, Clang) all implement it, so it would be worth mentioning. Chapter 10, on data structures, is all extremely basic material in my eyes. Further, emplace / emplace_back is never mentioned, which seems borderline criminal given the subject matter. The author also seems to be in two states of mind regarding usage of C++11 in general; some chapters seem to eschew its usage somewhat, while others (like the chapter on concurrency) obviously require it. The chapter on concurrency itself spends too long reviewing basic material and not nearly enough time on actual optimisation. All in all, a better title for this book might have included the word "introductory". If you haven't programmed a lot in C++, this book will probably serve as a good introduction to optimisation. If, however, you've been working in the language for a number of years, and you know the standard library well, you probably won't find much new here.

  2. 4 out of 5

    Brian

    I liked the book and still really want to find a great book on performance techniques. However, this book was not quite it. I hesitate as there were several technical flaws or other issues in the writing, which I detail on my blog. I liked the book and still really want to find a great book on performance techniques. However, this book was not quite it. I hesitate as there were several technical flaws or other issues in the writing, which I detail on my blog.

  3. 5 out of 5

    Delhi Irc

    Location: GG7 IRC Accession No: DL028424

  4. 4 out of 5

    Evgeniy Shcherbina

  5. 5 out of 5

    Pawel Kurdybacha

  6. 5 out of 5

    Yuriy

  7. 4 out of 5

    Williamguillermo

  8. 4 out of 5

    Waqar Ahmed

  9. 4 out of 5

    Newton Yeh

  10. 5 out of 5

    Michael Baron

  11. 5 out of 5

    Brian

  12. 4 out of 5

    Adam Stepan

  13. 4 out of 5

    Atul Singh

  14. 4 out of 5

    Eddie Elizondo

  15. 5 out of 5

    Kirankumar Muniswamyreddy

  16. 5 out of 5

    Paul Floyd

  17. 4 out of 5

    Nthery

  18. 4 out of 5

    Christine

  19. 5 out of 5

    Ahmed Bakr

  20. 4 out of 5

    Keelan Cosgrove

  21. 4 out of 5

    Ali Nakipoglu

  22. 4 out of 5

    Kai Wolf

  23. 4 out of 5

    Dan Farmer

  24. 4 out of 5

    superfunc

  25. 5 out of 5

    Greg M

  26. 5 out of 5

    Soubhi Hadri

  27. 5 out of 5

    Christian Howard

  28. 4 out of 5

    Nadav

  29. 5 out of 5

    twinky

  30. 4 out of 5

    Druvaciam

  31. 5 out of 5

    Juk

  32. 4 out of 5

    Joseph Young

  33. 4 out of 5

    Abhishek Anand

  34. 5 out of 5

    MichaƂ F

  35. 5 out of 5

    Alexei

  36. 5 out of 5

    Vivek Rao

  37. 5 out of 5

    Michael Dorais

  38. 4 out of 5

    Chris

  39. 5 out of 5

    Iliyan Gochev

  40. 4 out of 5

    Blux

  41. 5 out of 5

    Acmd etc

  42. 5 out of 5

    Marco Skyzoid

  43. 5 out of 5

    Mariusz Bartosik

  44. 5 out of 5

    Rupert

  45. 5 out of 5

    Edgard Lima

Add a review

Your email address will not be published. Required fields are marked *

Loading...