Real-Time C++: Efficient Object-Oriented and Template Microcontroller Programming, 3/e (Hardcover)

Christopher Kormanyos

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

相關主題

商品描述

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交叉編譯器和微控制器電路的指令。

在這第三版中,全書使用了C++17的最新規範(ISO/IEC 14882:2017)。增加了幾個關於新的C++17功能的章節,並對其他章節進行了修改以反映標準的變化。同時引入了幾個新的示例項目並擴展了現有的項目,並納入了各種讀者的建議。為了提高可移植性,書中僅使用了語言標準中指定的庫。效率始終是重點,並且許多示例都有實時性能測量和大小分析的支持,以量化代碼的真實成本,直到最後一個字節和微秒。

這本書的目標讀者主要是對實時C++感興趣的學生和專業人士。讀者應該熟悉C或其他編程語言,如果他們在微控制器電子學和嵌入式系統編程中有一些經驗,將能夠更好地受益。