Facebook Twitter Pinterest <Einbetten>
Möchten Sie verkaufen?
Zur Rückseite klappen Zur Vorderseite klappen
Hörprobe Wird gespielt... Angehalten   Sie hören eine Hörprobe des Audible Hörbuch-Downloads.
Mehr erfahren
Alle 3 Bilder anzeigen

Real-Time C++: Efficient Object-Oriented and Template Microcontroller Programming (Englisch) Gebundene Ausgabe – 27. März 2013

Alle Formate und Ausgaben anzeigen Andere Formate und Ausgaben ausblenden
Neu ab Gebraucht ab
Kindle Edition
"Bitte wiederholen"
Gebundene Ausgabe, 27. März 2013
EUR 53,49 EUR 165,33
4 neu ab EUR 53,49 1 gebraucht ab EUR 165,33

Dieses Buch gibt es in einer neuen Auflage:

click to open popover

Es wird kein Kindle Gerät benötigt. Laden Sie eine der kostenlosen Kindle Apps herunter und beginnen Sie, Kindle-Bücher auf Ihrem Smartphone, Tablet und Computer zu lesen.

  • Apple
  • Android
  • Windows Phone

Geben Sie Ihre Mobiltelefonnummer ein, um die kostenfreie App zu beziehen.

Jeder kann Kindle Bücher lesen — selbst ohne ein Kindle-Gerät — mit der KOSTENFREIEN Kindle App für Smartphones, Tablets und Computer.




From the reviews:

“In this book, Kormanyos, a microcontroller programmer with significant industrial experience, delivers a practical real-time embedded system programming guide in C++. The book teaches by example, providing plenty of motivation. … The author focuses on creating efficient code, both time- and space-wise, with technique exposure specific to embedded systems. Overall, this book is a good practical guide, beneficial to both students and professionals interested in real-time C++ programming. Summing Up: Recommended. Upper-division undergraduates and above.” (D. Papamichail, Choice, Vol. 51 (3), November, 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.” (Andre Maximo, ACM Computing Reviews, October, 2013)

“This is a gentle introduction to using C++11 in real-time projects. (...) It shows that C++11 is a reasonable choice for embedded work. Overall, a good tutorial for C++ developers who want to get their feet wet in embedded programming.” (Andrew Binstock, Dr. Dobb’s, May, 2013)


The C++ language has powerful object-oriented and template features that can improve software design and portability while simultaneously reducing code complexity and the risk of error. Furthermore, C++ compiles highly efficient native code. This unique and effective combination makes C++ well-suited for programming microcontroller systems that require compact size, high performance and safety-critical reliability.

With this book, Chris 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.

The most recent specification of C++11 in ISO/IEC 14882:2011 is used throughout the text. 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.

Alle Produktbeschreibungen


Es gibt noch keine Kundenrezensionen auf Amazon.de
5 Sterne
4 Sterne
3 Sterne
2 Sterne
1 Stern

Die hilfreichsten Kundenrezensionen auf Amazon.com (beta)

Amazon.com: 4.1 von 5 Sternen 8 Rezensionen
18 von 18 Kunden fanden die folgende Rezension hilfreich
4.0 von 5 Sternen You'll love it and hate it at the same time 21. November 2013
Von R. D Johnson - Veröffentlicht auf Amazon.com
Format: Gebundene Ausgabe Verifizierter Kauf
If you're not an embedded programmer, move on; there's little here for you.

If, like me, you've had years of embedded programming experience in both C and C++ you will either love or hate this book. Or, like me, you may experience both emotions at the same time. Why? Because it contains equal parts of 'duh, everyone knows that' and 'wow that is clever' exposition and code. It covers old ground like 'replace multiply with shift and add for efficiency' (which isn't even necessarily true anymore on some modern microprocessors) and totally new ground like using lambda expressions for efficiency inside code loops. Like another reviewer states, it illustrates good coding technique, but does so using C++ features that are barely supported on desktop PCs at the time of this review much less embedded compilers or cross-compilers.

I finally settled on four stars because it excels at one task: shaking the complacency out of embedded C programmers who think state-of-the-art C++ and modern coding styles are not suitable for embedded 8 to 32 bit microprocessors. The author does a great job of showing how modern constructs such as templates, lambda expressions, placement new, atomics and the like make embedded code more maintainable without sacrificing performance. The coding style is modern, using namespaces and prefixes, and <stdint> instead of the home-grown portability defines common in embedded C code. The author covers ground many embedded programmers probably already know such as the purpose of main(), how to extract and read assembly listing, use linker map files, and C++ name de-mangling. However, those new to embedded programming may find such information useful. The real meat of the book, though, is its extensive explanation and use of templates, constexpr, lambdas, and other modern C++ techniques to move a lot of programming work to compile-time. It also does a good job of explaining how to write your own memory manager if necessary to make better use of the STL. The book finishes with some example code, including a fixed-point math class and a FIR filter implemented with the aid of templates.

Finally, I have to say this book is probably a little ahead of its time. The code and techniques in this book illustrate the future of embedded programming on the new ARM and AVR class of embedded processors. However, given the conservative nature of the embedded world--where a wrong instruction can blow up an expensive machine--it will be a while still before the tool chains are up-to-date enough and trusted enough to make use of many of the techniques in this book.
6 von 6 Kunden fanden die folgende Rezension hilfreich
5.0 von 5 Sternen Practical guide to real-time C++ in embedded systems 3. Juni 2013
Von crackerbox - Veröffentlicht auf Amazon.com
Format: Gebundene Ausgabe
This book is in my opinion a good introduction to programming real-time embedded systems with C++11 (the most recent specification of the language). The author presents a number of examples of how C++ can be used to improve coding efficiency in an embedded systems environment. The examples show, in my opinion, that the author has a deep understanding of real-time system design, the methods really do produce compact code. He did a good job in explaining the nuts and bolts of efficient programming while also providing interesting examples. This book is very hands-on and can be used with a wide range of microcontrollers from ATMEL AVR (known from Arduino) to ARM and beyond. I liked the fact that there is sample code available for free on the net - great resource.
17 von 23 Kunden fanden die folgende Rezension hilfreich
2.0 von 5 Sternen Didn't Like This Book 24. Mai 2013
Von TomZ - Veröffentlicht auf Amazon.com
Format: Gebundene Ausgabe Verifizierter Kauf
I read a lot of software engineering books, and generally I'm pretty open to a lot of different ideas and viewpoints. But I really did not like this book. There were two things in general I did not like. First, I felt that the author has not really used C++ in real-time systems for a long time - his approach did not show much depth or insight compared to someone using it for the first time. I had expected to see a lot of new techniques, but I did not.

Second, the author uses a lot of C++11 features, which are not available yet in most (all?) commercial embedded systems compilers. This in itself is not a bad thing, but in this case it allowed the author to side-step some of the more tricky aspects of real-time programming with more widely available dialects of C++. For example, initialization of objects with constant data is a little tricky to do efficiently with today's compilers. The author avoided this topic entirely by advocating use of C++11-specific initialization features.
1 von 1 Kunden fanden die folgende Rezension hilfreich
5.0 von 5 Sternen I like this book. 10. Mai 2016
Von MJ - Veröffentlicht auf Amazon.com
Format: Gebundene Ausgabe
A good intro to C++ for use on a microcontroller. Coming from someone who has been using C for years, this book has great examples of useful numeric classes and ways to abstract common peripheral functions into C++ objects that serve as simple device drivers. I do wish he had covered more of the tradeoffs and consequences of using vs.not using the STL or RTTI for memory limited projects. Still, a good read and reference.
1 von 1 Kunden fanden die folgende Rezension hilfreich
5.0 von 5 Sternen nicely written with well explained code constructs the author is ... 29. April 2015
Von Shahzad Aslam-Mir - Veröffentlicht auf Amazon.com
Format: Gebundene Ausgabe Verifizierter Kauf
nicely written with well explained code constructs the author is using in C++ - unsual as most books with titles like this often fail to deliver real useful content.
Waren diese Rezensionen hilfreich? Wir wollen von Ihnen hören.