A comprehensive guide to help aspiring and professional C++ developers elevate the performance of their apps by allowing them to run faster and consume fewer resourcesKey FeaturesUpdated to C++20 with completely revised code and more content on error handling, benchmarking, memory allocators, and concurrent programmingExplore the latest C++20 features including concepts, ranges, and coroutinesUtilize C++ constructs and techniques to carry out effective data structure optimization and memory managementBook DescriptionC++ High Performance, Second Edition guides you through optimizing the performance of your C++ apps. This allows them to run faster and consume fewer resources on the device they're running on without compromising the readability of your codebase.The book begins by introducing the C++ language and some of its modern concepts in brief. Once you are familiar with the fundamentals, you will be ready to measure, identify, and eradicate bottlenecks in your C++ codebase. By following this process, you will gradually improve your style of writing code. The book then explores data structure optimization, memory management, and how it can be used efficiently concerning CPU caches.After laying the foundation, the book trains you to leverage algorithms, ranges, and containers from the standard library to achieve faster execution, write readable code, and use customized iterators. It provides hands-on examples of C++ metaprogramming, coroutines, reflection to reduce boilerplate code, proxy objects to perform optimizations under the hood, concurrent programming, and lock-free data structures. The book concludes with an overview of parallel algorithms.By the end of this book, you will have the ability to use every tool as needed to boost the efficiency of your C++ projects.What you will learnWrite specialized data structures for performance-critical codeUse modern metaprogramming techniques to reduce runtime calculationsAchieve efficient memory management using custom memory allocatorsReduce boilerplate code using reflection techniquesReap the benefits of lock-free concurrent programmingGain insights into subtle optimizations used by standard library algorithmsCompose algorithms using ranges libraryDevelop the ability to apply metaprogramming aspects such as constexpr, constraints, and conceptsImplement lazy generators and asynchronous tasks using C++20 coroutinesWho this book is forIf you're a C++ developer looking to improve the efficiency of your code or just keen to upgrade your skills to the next level, this book is for you.Table of ContentsA Brief Introduction to C++Essential C++ TechniquesAnalyzing and Measuring PerformanceData StructuresAlgorithmsUsing Ranges and ViewsMemory ManagementCompile-Time ProgrammingEssential UtilitiesProxy Objects and Lazy EvaluationConcurrencyCoroutines and Lazy GeneratorsAsynchronous Programming with CoroutinesParallel STL Algorithms
✔ Author(s): Bjorn Andrist,Viktor Sehr,Ben Garney
✔ Title: C++ High Performance: Master the art of optimizing the functioning of your C++ code, 2nd Edition
✔ Rating : 4.6 out of 5 base on (143 reviews)
✔ ISBN-10: 1839216549
✔ Language: English
✔ Format ebook: PDF, EPUB, Kindle, Audio, HTML and MOBI
✔ Device compatibles: Android, iOS, PC and Amazon Kindle
Readers' opinions about C++ High Performance by Bjorn Andrist
Whittany Fleming
Dive into a captivating mystery where each clue unravels a new layer of intrigue. The author's masterful storytelling keeps you guessing until the final page. Vivid characters and detailed settings bring the story to life. The suspense builds with each chapter, making it impossible to put down. It's a gripping tale that will keep you on the edge of your seat. A must-read for fans of the genre.
Molly Adams
Discover the inspiring story of a trailblazer who changed the world in this compelling biography. The author's detailed research and engaging writing bring the subject to life. Each chapter reveals new insights into the person's life and achievements. The narrative is both informative and deeply moving, offering valuable life lessons. It's a story that motivates and inspires. Perfect for history buffs and biography enthusiasts.
Jaylynn Fernandez
Explore the impact of technology on society in this thought-provoking novel. The author's insightful writing and compelling characters create a narrative that challenges your perceptions. Each chapter delves into the complexities of modern life with depth and nuance. The plot's twists and turns keep you engaged throughout. It's a story that prompts deep reflection on the role of technology in our lives. Perfect for readers interested in contemporary issues.
Helvetica Standard Italic (nichijou), Baseball Goats: The Greatest Athletes of All Time (Sports Illustrated Kids: Goats), Made Like Martha: Good News for the Woman Who Gets Things Done, No Fear: Bible Reading Plan & Journal: Choosing Faith When I Am Afraid, Dehydrator Cookbook For Preppers: 1500 Days of Easy and Delicious Homemade Recipes for Jerky, Fruit, Vegetables and Herbs to Be Prepared for the Incoming Crisis, The Compassion Book: Teachings for Awakening the Heart, The Lottery (Small Towns | Big Lives), Foundations for Teaching English Language Learners: Research, Theory, Policy, and Practice, MONEY SNACKS: How to Start a Profitable Vending Machine Business in 5 Weeks: Optimize Your Profits and Go From Side Hustle to Passive Income With Minimal Effort (MONEY MAKING SERIES), Plant Coach: The Beginner’s Guide to Caring for Plants and the Planet,