C++ High Performance
內容描述
Key Features
Explore concurrent programming in C++
Identify memory management problems
Use SIMD and STL containers for performance improvement
Book Description
C++ is an easy language and can be used to write complex applications and performance-critical code. It has evolved and changed over the last few years. This book will guide you through optimizing the performance of your C++ apps by allowing them to consume fewer resources on the device they're running on.
The book begins with a gentle introduction to help you identify the bottlenecks in C++. We move on to measuring performance and you'll see how this affects the way you write code. Next you'll understand the importance of data structure optimization and how it can be used efficiently. After that, we'll explain which algorithm should be used to achieve faster execution, followed by how to use STL containers.
Moving ahead, you'll find out how to boost your code's performance by executing compiled code. You'll get hands-on making use of multiple cores to enable efficient and faster execution, including GPUs. After that, you'll learn how to improve memory management in C++. We end with some techniques you can use to optimize the performance of your apps.
What you will learn
Find out how to use exciting new tools that will help you improve your code
Identify bottlenecks to optimize your code
Develop applications that utilize GPU computation
Reap the benefits of concurrent programming
Write code that can protect against application errors using error handling
Know your code and hot spots
Use STL containers to achieve code optimization
Extend your toolbox with Boost containers
Write clean and safe code that the compiler can optimize
Use SIMD to get high performance
Achieve efficient memory management by identifying problems such as leaks
Speed up the loading and behavior of the application