Hands-On High Performance Programming with Qt 5: Build cross-platform applications using concurrency, parallel programming, and memory management

Marek Krajewski

  • 出版商: Packt Publishing
  • 出版日期: 2019-01-31
  • 售價: $1,970
  • 貴賓價: 9.5$1,872
  • 語言: 英文
  • 頁數: 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的圖形引擎架構、優勢和弱點

本書適合對於建立高效能桌面和嵌入式設備應用程式的Qt開發人員。需要具備C++的程式設計經驗。

目錄:
1. 瞭解高效能程式
2. 使用分析工具找出瓶頸
3. 深入研究C++和效能
4. 高效使用資料結構和演算法
5. 深入指南:並行和多執行緒
6. 效能失敗及其克服方法
7. 瞭解I/O效能並解決相關問題
8. 優化圖形效能
9. 優化網路效能
10. Qt在嵌入式和行動平台上的效能
11. 測試和部署Qt應用程式