C++ High Performance : Master the art of optimizing the functioning of your C++ code, 2/e (Paperback)
Andrist, Björn, Sehr, Viktor
- 出版商: Packt Publishing
- 出版日期: 2020-12-21
- 定價: $2,190
- 售價: 9.0 折 $1,971
- 語言: 英文
- 頁數: 540
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1839216549
- ISBN-13: 9781839216541
-
相關分類:
C++ 程式語言
-
相關翻譯:
C++ 高性能編程 (簡中版)
立即出貨 (庫存=1)
買這商品的人也買了...
-
$1,575Physics for Game Developers: Science, math, and code for realistic effects, 2/e (Paperback)
-
$520$406 -
$680$578 -
$2,520$2,394 -
$600$510 -
$2,180$2,071 -
$1,960Low Level X Window Programming: An Introduction by Examples
-
$880$695 -
$414$393 -
$1,170Bayesian Statistics the Fun Way: Understanding Statistics and Probability with Star Wars, Lego, and Rubber Ducks
-
$1,200$948 -
$594$564 -
$680$510 -
$520$411 -
$2,700$2,565 -
$580$493 -
$2,020$1,919 -
$680$537 -
$2,180$2,071 -
$580$458 -
$880$748 -
$1,008$958 -
$1,710$1,625 -
$2,831Embracing Modern C++ Safely
-
$780$585
相關主題
商品描述
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 resources
Key features
- Updated to C++20 with completely revised code and more content on error handling, benchmarking, memory allocators, and concurrent programming
- Explore the latest C++20 features including concepts, ranges, and coroutines
- Utilize C++ constructs and techniques to carry out effective data structure optimization and memory management
Book Description
C++ High Performance, Second Edition intends to 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 codebase.
The book begins by introducing C++ language and some of its modern concepts to you in brief. Once you are familiar with the fundamentals, it enables you to measure and identify bottlenecks in a C++ codebase and how to eradicate them using modern C++ constructs and techniques. In this process, you will gradually improve your style of writing code. You will further dive deep to explore 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 experience 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 developed the ability to use every tool as per its need to boost the efficiency of your C++ project.
What you will learn
- 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
Who this book is for
If 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.
商品描述(中文翻譯)
《C++高效能:第二版》是一本全面指南,旨在幫助有志於成為專業C++開發人員的人提升應用程式的效能,使其運行更快並消耗更少的資源。
主要特點包括:
- 使用C++20進行更新,完全修訂的程式碼,並增加了有關錯誤處理、基準測試、記憶體配置器和並行程式設計的內容。
- 探索最新的C++20功能,包括概念、範圍和協程。
- 利用C++的結構和技術進行有效的資料結構優化和記憶體管理。
《C++高效能:第二版》旨在指導讀者如何優化其C++應用程式的效能,使其在運行設備上運行更快並消耗更少的資源,同時不影響程式碼的可讀性。
本書首先簡要介紹C++語言及其一些現代概念。一旦讀者熟悉了基礎知識,就可以測量和識別C++程式碼庫中的瓶頸,並使用現代C++的結構和技術消除它們。在這個過程中,讀者將逐漸改進其編碼風格。接著,讀者將深入探討資料結構優化、記憶體管理以及如何有效地使用CPU快取。
在奠定基礎之後,本書將指導讀者如何利用標準程式庫中的演算法、範圍和容器實現更快的執行、可讀的程式碼和使用自定義迭代器。本書提供了C++元程式設計、協程、反射等實踐經驗,以減少樣板程式碼、在幕後進行優化的代理物件、並行程式設計和無鎖資料結構。本書最後還概述了並行演算法。
通過閱讀本書,讀者將能夠根據需要使用各種工具,提升其C++專案的效能。
本書適合以下讀者:
- C++開發人員,希望改進其程式碼的效率或提升技能水平的人。