C++ High Performance

Write code that scales across CPU registers, multi-core, and machine clusters

C++ High Performance

Viktor Sehr, Björn Andrist

3 customer reviews
Write code that scales across CPU registers, multi-core, and machine clusters
eBook
$10.00
RRP $35.99
Save 72%
Print + eBook
$44.99
RRP $44.99
What do I get with a Mapt subscription?
  • Unlimited access to all Packt’s 6,000+ eBooks and Videos
  • 100+ new titles a month, learning paths, assessments & code files
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the subscription reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the subscription reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the subscription reader
$10.00
$44.99
RRP $35.99
RRP $44.99
eBook
Print + eBook

Frequently bought together


C++ High Performance Book Cover
C++ High Performance
$ 35.99
$ 10.00
Mastering C++ Multithreading Book Cover
Mastering C++ Multithreading
$ 35.99
$ 10.00
Buy 2 for $20.00
Save $51.98
Add to Cart

Book Details

ISBN 139781787120952
Paperback374 pages

Book Description

C++ is a highly portable language and can be used to write both large-scale applications and performance-critical code. It has evolved over the last few years to become a modern and expressive language. This book will guide you through optimizing the performance of your C++ apps by allowing them to run faster and consume fewer resources on the device they're running on without compromising the readability of your code base.

The book begins by helping you measure and identify bottlenecks in a C++ code base. It then moves on by teaching you how to use modern C++ constructs and techniques. You'll see how this affects the way you write code. Next, you'll see the importance of data structure optimization and memory management, and how it can be used efficiently with respect to CPU caches. After that, you'll see how STL algorithm and composable Range V3 should be used to both achieve faster execution and more readable code, followed by how to use STL containers and how to write your own specialized iterators.

Moving on, you’ll get hands-on experience in making use of modern C++ metaprogramming and reflection to reduce boilerplate code as well as in working with proxy objects to perform optimizations under the hood. After that, you’ll learn concurrent programming and understand lock-free data structures. The book ends with an overview of parallel algorithms using STL execution policies, Boost Compute, and OpenCL to utilize both the CPU and the GPU.

Table of Contents

Chapter 5: A Deeper Look at Iterators

What You Will Learn

  • Benefits of modern C++ constructs and techniques
  • Identify hardware bottlenecks, such as CPU cache misses, to boost performance
  • Write specialized data structures for performance-critical code
  • Use modern metaprogramming techniques to reduce runtime calculations
  • Achieve efficient memory management using custom memory allocators
  • Reduce boilerplate code using reflection techniques
  • Reap the benefits of lock-free concurrent programming
  • Perform under-the-hood optimizations with preserved readability using proxy objects
  • Gain insights into subtle optimizations used by STL algorithms
  • Utilize the Range V3 library for expressive C++ code
  • Parallelize your code over CPU and GPU, without compromising readability

Authors

Table of Contents

Chapter 5: A Deeper Look at Iterators

Book Details

ISBN 139781787120952
Paperback374 pages
Read More
From 3 reviews

Read More Reviews

These popular $10 titles might interest you

Mastering C++ Multithreading Book Cover
Mastering C++ Multithreading
$ 35.99
$ 10.00
Mastering the C++17 STL Book Cover
Mastering the C++17 STL
$ 35.99
$ 10.00
C++17 By Example Book Cover
C++17 By Example
$ 35.99
$ 10.00
The Modern C++ Challenge Book Cover
The Modern C++ Challenge
$ 27.99
$ 10.00
C++ Data Structures and Algorithms Book Cover
C++ Data Structures and Algorithms
$ 35.99
$ 10.00
Hands-On GUI Programming with C++ and Qt5 Book Cover
Hands-On GUI Programming with C++ and Qt5
$ 35.99
$ 10.00