Real-Time C++: Efficient Object-Oriented and Template Microcontroller Programming, 3/e (Paperback)
暫譯: 即時 C++:高效的物件導向與模板微控制器程式設計,第 3 版(平裝本)

Kormanyos, Christopher

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

商品描述

With this book, Christopher Kormanyos delivers a highly practical guide to programming real-time embedded microcontroller systems in C++. It is divided into three parts plus several appendices. Part I provides a foundation for real-time C++ by covering language technologies, including object-oriented methods, template programming and optimization. Next, part II presents detailed descriptions of a variety of C++ components that are widely used in microcontroller programming. It details some of C++'s most powerful language elements, such as class types, templates and the STL, to develop components for microcontroller register access, low-level drivers, custom memory management, embedded containers, multitasking, etc. Finally, part III describes mathematical methods and generic utilities that can be employed to solve recurring problems in real-time C++. The appendices include a brief C++ language tutorial, information on the real-time C++ development environment and instructions for building GNU GCC cross-compilers and a microcontroller circuit.

 

For this third edition, the most recent specification of C++17 in ISO/IEC 14882:2017 is used throughout the text. Several sections on new C++17 functionality have been added, and various others reworked to reflect changes in the standard. Also several new sample projects are introduced and existing ones extended, and various user suggestions have been incorporated. To facilitate portability, no libraries other than those specified in the language standard itself are used. Efficiency is always in focus and numerous examples are backed up with real-time performance measurements and size analyses that quantify the true costs of the code down to the very last byte and microsecond.

The target audience of this book mainly consists of students and professionals interested in real-time C++. Readers should be familiar with C or another programming language and will benefit most if they have had some previous experience with microcontroller electronics and the performance and size issues prevalent in embedded systems programming.

商品描述(中文翻譯)

這本書由 Christopher Kormanyos 提供了一本非常實用的指南,專注於使用 C++ 編程實時嵌入式微控制器系統。全書分為三個部分以及幾個附錄。第一部分為實時 C++ 提供基礎,涵蓋語言技術,包括物件導向方法、模板編程和優化。接下來,第二部分詳細描述了在微控制器編程中廣泛使用的各種 C++ 元件。它詳細介紹了 C++ 中一些最強大的語言元素,如類型、模板和 STL,以開發微控制器寄存器訪問、低階驅動程式、自訂記憶體管理、嵌入式容器、多任務處理等元件。最後,第三部分描述了可以用來解決實時 C++ 中重複出現問題的數學方法和通用工具。附錄包括簡短的 C++ 語言教程、實時 C++ 開發環境的信息,以及構建 GNU GCC 交叉編譯器和微控制器電路的指導。

在這第三版中,整本書使用了 ISO/IEC 14882:2017 中 C++17 的最新規範。新增了幾個有關 C++17 功能的章節,並對其他章節進行了重寫,以反映標準中的變更。此外,還引入了幾個新的範例專案,並擴展了現有的專案,並納入了各種用戶建議。為了促進可攜性,除了語言標準本身指定的庫外,未使用其他庫。效率始終是重點,許多範例都附有實時性能測量和大小分析,量化代碼的真實成本,直到最後一個位元組和微秒。

本書的目標讀者主要是對實時 C++ 感興趣的學生和專業人士。讀者應該熟悉 C 或其他編程語言,如果有一些微控制器電子學的先前經驗以及嵌入式系統編程中普遍存在的性能和大小問題,將會獲益良多。

作者簡介

Christopher Kormanyos is a senior system architect at a major automotive supplier with 25 years of experience in software development, microcontroller system design and application deployment. Chris is well-connected in the microcontroller industry and has strong professional ties to both tier-one silicon suppliers as well as compiler and tool vendors. He received a PhD in experimental particle physics from the University of Colorado in 1994 and also holds several patents for automotive electronic technologies.

作者簡介(中文翻譯)

克里斯多福·科曼約斯(Christopher Kormanyos)是主要汽車供應商的資深系統架構師,擁有25年的軟體開發、微控制器系統設計和應用部署經驗。克里斯在微控制器產業中人脈廣泛,與一級矽晶片供應商以及編譯器和工具供應商有著密切的專業聯繫。他於1994年在科羅拉多大學獲得實驗粒子物理學博士學位,並擁有多項汽車電子技術的專利。