Computing Reviews
Today's Issue Hot Topics Search Browse Recommended My Account Log In
Review Help
Search
Real-time C++ : efficient object-oriented and template microcontroller programming
Kormanyos C., Springer Publishing Company, Incorporated, Berlin, Germany, 2013. 380 pp. Type: Book (978-3-642346-87-3)
Date Reviewed: Oct 9 2013

Programmers seeking information about real-time performance or advanced knowledge of the C++ language will delight in this book. The reader is led along the arduous road of templates, generic metaprogramming, and object-oriented techniques using a diverse collection of code examples. The ultimate goal of implementing real-time embedded microcontroller systems using C++ is brilliantly achieved, opening the door for extension to real-time applications.

The book is very well written and uses an interdisciplinary approach to present real-time C++ development in three main parts. The first part introduces language technologies ranging from compile-time initializations to lambda expressions and variadic templates of C++11. The second part continues the discussion of preliminary startup code, interrupt function attributes, and the thread support library migrated from Boost to C++11. The last part dives into implementation details of both floating-point and fixed-point mathematics, always with efficiency in mind, providing directions for C++ programming that enlighten the reader.

Throughout the book, the author masterfully balances sentence length in each chapter, employing short sentences in sequence for simple notions while favoring clarity over brevity when needed. Chapter 1 introduces a light-emitting diode (LED) circuit program as an example to introduce basic concepts of C++. Chapter 2 builds the hardware board for the first example, aiming for compilation and execution of the chapter 1 program on it. In chapter 3, the author introduces additional concepts for C++ with many examples, with a focus on the standard template library (STL) classes and algorithms. Chapter 4 discusses object-oriented techniques using the base LED program, and different tools, such as dynamic polymorphism and pure virtual functions. Chapter 5 enters the realm of templates and template scalability in the context of C-style code. Chapter 6 presents insights on optimization strategies, taking into account algorithm complexity, code size, and runtime, and makes suggestions for when to use assembly. In chapters 7 to 11, the book returns to microcontroller programming and the LED program example in a development crescendo.

Chapters 12 through 15 finish with more complex functionalities, using arithmetic as an example and defining new data types for calculations. In chapter 14, the author compares the efficiency of coding in C++ with assembly-level programming.

In summary, the book provides excellent reading for advanced programmers, while beginners are advised to spend some time with C and C++ before tackling it.

More reviews about this item: Amazon

Reviewer:  Andre Maximo Review #: CR141627 (1312-1047)
Bookmark and Share
  Reviewer Selected
Featured Reviewer
 
 
Real-Time And Embedded Systems (C.3 ... )
 
 
C++ (D.3.2 ... )
 
 
Object-Oriented Programming (D.1.5 )
 
Would you recommend this review?
yes
no
Other reviews under "Real-Time And Embedded Systems": Date
Real-time and systems programming for PCs
Vickery C., McGraw-Hill, Inc., New York, NY, 1993. Type: Book (9780070674660)
Oct 1 1994
Manipulation of terrain data for a real-time display application
Vaughan J., Brookes G., Fletcher M., Wills D. Microprocessors & Microsystems 15(7): 347-353, 1991. Type: Article
Apr 1 1993
Parallel processing in industrial real-time applications
Lawson H., Prentice-Hall, Inc., Upper Saddle River, NJ, 1992. Type: Book (9780136545187)
Jun 1 1994
more...

E-Mail This Printer-Friendly
Send Your Comments
Contact Us
Reproduction in whole or in part without permission is prohibited.   Copyright 1999-2024 ThinkLoud®
Terms of Use
| Privacy Policy