C++ in Embedded Systems. A practical transition from C to modern C++ - Helion

Tytuł oryginału: C++ in Embedded Systems. A practical transition from C to modern C++
ISBN: 9781835881156
Format: ebook
Księgarnia: Helion
Cena książki: 109,00 zł
Książka będzie dostępna od maja 2025
Transitioning from C can be daunting, and developers often worry about overhead, complexity, and tooling. This book helps you tackle these challenges with zero-cost abstractions, compile-time checks, and powerful modern C++ capabilities, ensuring you preserve performance while achieving safer, clearer code. Written by an engineer experienced in consumer electronics and medical devices, this book bridges the gap between traditional C and advanced C++ techniques, and enables you to apply modern C++ features to build robust and maintainable firmware.
You’ll begin by setting up a modern development environment, including a Docker container for easy example replication. The chapters address C++ standard library challenges in memory-constrained settings and introduce the Embedded Template Library (ETL) as an alternative. You’ll grasp essential C++ concepts, and explore advanced topics such as templates, strong typing, error handling, compile-time computation, and RAII. You'll also learn to implement a sequencer, write a type-safe HAL, and apply patterns like Command, State, and Observer to solve common embedded development problems.
By the end of this book, you’ll have learned how to apply modern C++ to develop robust, modular firmware with performance matching or exceeding hand-coded C solutions.
Zobacz także:
- Windows Media Center. Domowe centrum rozrywki 66,67 zł, (8,00 zł -88%)
- Ruby on Rails. Ćwiczenia 18,75 zł, (3,00 zł -84%)
- Efekt piaskownicy. Jak szefować żeby roboty nie zabrały ci roboty 59,50 zł, (11,90 zł -80%)
- Przywództwo w świecie VUCA. Jak być skutecznym liderem w niepewnym środowisku 58,64 zł, (12,90 zł -78%)
- Scrum. O zwinnym zarządzaniu projektami. Wydanie II rozszerzone 58,64 zł, (12,90 zł -78%)
Spis treści
C++ in Embedded Systems. A practical transition from C to modern C++ eBook -- spis treści
- 1. Debunking Common Myths about C++
- 2. Challenges in Embedded Systems with Limited Resources
- 3. Embedded C++ Ecosystem
- 4. Setting Up the Development Environment for a C++ Embedded Project
- 5. Classes – Building Blocks of C++ Applications
- 6. Beyond Classes – Fundamental C++ Concepts
- 7. Strengthening Firmware – Practical C++ Error Handling Methods
- 8. Building Generic and Reusable Code with Templates
- 9. Improving Type-Safety with Strong Types
- 10. Writing Expressive Code with Lambdas
- 11. Compile-Time Computation
- 12. Writing C++ HAL
- 13. Working with C Libraries
- 14. Enhancing Super-Loop with Sequencer
- 15. Practical Patterns – Building a Temperature Publisher
- 16. Designing Scalable Finite State Machines
- 17. Libraries and Frameworks
- 18. Cross-Platform Development