Hands-On High Performance Programming with Qt 5: Build cross-platform applications using concurrency, parallel programming, and memory management
暫譯: 實戰 Qt 5 高效能程式設計:使用併發、平行程式設計和記憶體管理構建跨平台應用程式

Marek Krajewski

  • 出版商: Packt Publishing
  • 出版日期: 2019-01-31
  • 售價: $2,000
  • 貴賓價: 9.5$1,900
  • 語言: 英文
  • 頁數: 384
  • 裝訂: Paperback
  • ISBN: 1789531241
  • ISBN-13: 9781789531244
  • 相關分類: Qt
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

相關主題

商品描述

Build efficient and fast Qt applications, target performance problems, and discover solutions to refine your code

Key Features

  • Build efficient and concurrent applications in Qt to create cross-platform applications
  • Identify performance bottlenecks and apply the correct algorithm to improve application performance
  • Delve into parallel programming and memory management to optimize your code

Book Description

Achieving efficient code through performance tuning is one of the key challenges faced by many programmers. This book looks at Qt programming from a performance perspective. You'll explore the performance problems encountered when using the Qt framework and means and ways to resolve them and optimize performance.

The book highlights performance improvements and new features released in Qt 5.9, Qt 5.11, and 5.12 (LTE). You'll master general computer performance best practices and tools, which can help you identify the reasons behind low performance, and the most common performance pitfalls experienced when using the Qt framework. In the following chapters, you'll explore multithreading and asynchronous programming with C++ and Qt and learn the importance and efficient use of data structures. You'll also get the opportunity to work through techniques such as memory management and design guidelines, which are essential to improve application performance. Comprehensive sections that cover all these concepts will prepare you for gaining hands-on experience of some of Qt's most exciting application fields - the mobile and embedded development domains.

By the end of this book, you'll be ready to build Qt applications that are more efficient, concurrent, and performance-oriented in nature

What you will learn

  • Understand classic performance best practices
  • Get to grips with modern hardware architecture and its performance impact
  • Implement tools and procedures used in performance optimization
  • Grasp Qt-specific work techniques for graphical user interface (GUI) and platform programming
  • Make Transmission Control Protocol (TCP) and Hypertext Transfer Protocol (HTTP) performant and use the relevant Qt classes
  • Discover the improvements Qt 5.9 (and the upcoming versions) holds in store
  • Explore Qt's graphic engine architecture, strengths, and weaknesses

Who this book is for

This book is designed for Qt developers who wish to build highly performance applications for desktop and embedded devices. Programming Experience with C++ is required.

Table of Contents

  1. Understanding Performant Programs
  2. Profiling to Find Bottlenecks
  3. Deep dive into C++ and Performance
  4. Using Data Structures and Algorithms Efficiently
  5. An In-depth guide to Concurrency and Multithreading
  6. Performance Failures and How to Overcome Them
  7. Understanding I/O Performance and Overcoming Related Problems
  8. Optimizing Graphical Performance
  9. Optimizing Network Performance
  10. Qt Performance On Embedded and Mobile Platforms
  11. Testing and Deploying Qt Applications

商品描述(中文翻譯)

**建立高效且快速的 Qt 應用程式,針對性能問題,並發現精煉代碼的解決方案**

#### 主要特點
- 在 Qt 中建立高效且並行的應用程式,以創建跨平台應用程式
- 識別性能瓶頸並應用正確的算法來改善應用程式性能
- 深入了解並行程式設計和記憶體管理,以優化您的代碼

#### 書籍描述
通過性能調整來實現高效代碼是許多程式設計師面臨的主要挑戰之一。本書從性能的角度探討 Qt 程式設計。您將探索在使用 Qt 框架時遇到的性能問題,以及解決這些問題和優化性能的方法。

本書強調了在 Qt 5.9、Qt 5.11 和 5.12 (LTE) 中發布的性能改進和新功能。您將掌握一般計算機性能最佳實踐和工具,這些工具可以幫助您識別低性能的原因,以及在使用 Qt 框架時最常見的性能陷阱。在接下來的章節中,您將探索使用 C++ 和 Qt 的多執行緒和非同步程式設計,並學習數據結構的重要性和高效使用。您還將有機會學習記憶體管理和設計指導等技術,這些都是改善應用程式性能的關鍵。涵蓋所有這些概念的綜合部分將為您提供在 Qt 最令人興奮的應用領域——移動和嵌入式開發領域獲得實踐經驗的準備。

在本書結束時,您將能夠建立更高效、並行且以性能為導向的 Qt 應用程式。

#### 您將學到什麼
- 理解經典的性能最佳實踐
- 熟悉現代硬體架構及其對性能的影響
- 實施用於性能優化的工具和程序
- 掌握 Qt 特定的圖形用戶界面 (GUI) 和平台程式設計工作技術
- 使傳輸控制協議 (TCP) 和超文本傳輸協議 (HTTP) 更具性能,並使用相關的 Qt 類
- 發現 Qt 5.9(及即將推出的版本)所帶來的改進
- 探索 Qt 的圖形引擎架構、優勢和劣勢

#### 本書適合誰
本書旨在為希望為桌面和嵌入式設備構建高性能應用程式的 Qt 開發人員而設。需要具備 C++ 的程式設計經驗。

#### 目錄
1. 理解高效能程式
2. 使用分析工具尋找瓶頸
3. 深入 C++ 和性能
4. 高效使用數據結構和算法
5. 深入了解並行性和多執行緒
6. 性能失敗及其克服方法
7. 理解 I/O 性能及克服相關問題
8. 優化圖形性能
9. 優化網絡性能
10. Qt 在嵌入式和移動平台上的性能
11. 測試和部署 Qt 應用程式