Rating:

Author: Christopher Michael Kormanyos
ISBN : B00C0Q9LOS
New from $19.55
Format: PDF
Download Real-Time C++: Efficient Object-Oriented and Template Microcontroller Programming Free Download from with Mediafire Link Download Link
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.
Books with free ebook downloads available Real-Time C++: Efficient Object-Oriented and Template Microcontroller Programming Free Download
- File Size: 1054 KB
- Print Length: 379 pages
- Publisher: Springer; 2013 edition (March 15, 2013)
- Sold by: Amazon Digital Services, Inc.
- Language: English
- ASIN: B00C0Q9LOS
- Text-to-Speech: Enabled
X-Ray:
- Lending: Not Enabled
- Amazon Best Sellers Rank: #842,945 Paid in Kindle Store (See Top 100 Paid in Kindle Store)
- #86
in Books > Computers & Technology > Programming > Languages & Tools > C > Objects
- #86
in Books > Computers & Technology > Programming > Languages & Tools > C > Objects
Real-Time C++: Efficient Object-Oriented and Template Microcontroller Programming Free Download
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.
Download Link 1