C++ High Performance, 2nd Ed (Packt)
Wednesday, 13 January 2021

This book, sibtitled "Master the art of optimizing the functioning of your C++ code" shows how to tweak the performance of C++ apps, so they can run faster and consume fewer resources on the device they're running on without compromising the readability of the codebase. Björn Andrist and Viktor Sehr begin by introducing the C++ language and some of its modern concepts in brief. They then move on to using algorithms, ranges, and containers from the standard library to achieve faster execution, write readable code, and use customized iterators.

<ASIN:1839216549>

The book provides hands-on examples of C++ meta-programming, coroutines, reflection to reduce boilerplate code, proxy objects to perform optimizations under the hood, concurrent programming, and lock-free data structures. It concludes with an overview of parallel algorithms.   

Author: Björn Andrist and Viktor Sehr
Publisher: Packt Publishing
Date: December 2020
Pages: 540
ISBN: 978-1839216541
Print: 1839216549
Kindle: B08J8DNM3P
Audience: C++ developers
Level: Intermediate
Category: C/C++

 

  • 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
  • Gain insights into subtle optimizations used by standard library algorithms
  • Compose algorithms using ranges library
  • Develop the ability to apply metaprogramming aspects such as constexpr, constraints, and concepts
  • Implement lazy generators and asynchronous tasks using C++20 coroutines

 

For recommendations of C and C++ books see Top Choice C and C++ Books  and  C# Books - Pick of the Shelf  in our Programmer's Bookshelf section.

 

For more Book Watch just click.

Book Watch is I Programmer's listing of new books and is compiled using publishers' publicity material. It is not to be read as a review where we provide an independent assessment. Some, but by no means all, of the books in Book Watch are eventually reviewed.

To have new titles included in Book Watch contact  BookWatch@i-programmer.info

Follow @bookwatchiprog on Twitter or subscribe to I Programmer's Books RSS feed for each day's new addition to Book Watch and for new reviews.

 

 

Banner
 


The Async-First Playbook

Author: Sumeet Gayathri Moghe
Publisher: Addison-Wesley
Pages: 368
ISBN: 978-0138187538
Print: 0138187533
Kindle: B0CCTZHB9N
Audience: Agile developers
Rating: 4
Reviewer: Kay Ewbank

The driver behind this book was the pandemic and the need to find ways to make remote working effective for teams. So do [ ... ]



Beginning Programming All-in-One For Dummies

Author: Wallace Wang
Publisher: For Dummies
Pages: 800
ISBN: 978-1119884408
Print: 1119884403
Kindle: B0B1BLY87B
Audience: Novice programmers
Rating: 3
Reviewer: Kay Ewbank

This is a collection of seven shorter books introducing key aspects of programming, but it fails through trying to cover too [ ... ]


More Reviews