C++ in Embedded Systems : A practical transition from C to modern C++

Transitioning from C can be daunting, with concerns about performance overhead, added complexity, and unfamiliar tooling. Addressing these challenges, Amar Mahmutbegovic, an advocate for modern C++ in embedded development, shows how to harness zero-cost abstractions, compile-time checks, and modern C++ capabilities to preserve performance while achieving safer, cleaner code. This book bridges the gap between traditional C and advanced C++, helping you retain the efficiency C developers expect while unlocking safety and expressiveness of modern C++.

Starting with a modern development environment setup, including a Docker container for seamless example replication, you’ll overcome challenges of using the C++ standard library in memory-constrained settings and explore the Embedded Template Library (ETL) as an alternative. The book walks through essential C++ concepts before exploring advanced topics such as templates, strong typing, error handling, compile-time computation, and RAII. Through practical examples, you'll implement a sequencer, write a type-safe HAL, and apply patterns like Command, State, and Observer to solve embedded problems.

By the end, you’ll be able to apply modern C++ to develop robust, modular firmware with performance matching or exceeding hand-coded C solutions.

*Email sign-up and proof of purchase required

À propos de ce livre

Transitioning from C can be daunting, with concerns about performance overhead, added complexity, and unfamiliar tooling. Addressing these challenges, Amar Mahmutbegovic, an advocate for modern C++ in embedded development, shows how to harness zero-cost abstractions, compile-time checks, and modern C++ capabilities to preserve performance while achieving safer, cleaner code. This book bridges the gap between traditional C and advanced C++, helping you retain the efficiency C developers expect while unlocking safety and expressiveness of modern C++.

Starting with a modern development environment setup, including a Docker container for seamless example replication, you’ll overcome challenges of using the C++ standard library in memory-constrained settings and explore the Embedded Template Library (ETL) as an alternative. The book walks through essential C++ concepts before exploring advanced topics such as templates, strong typing, error handling, compile-time computation, and RAII. Through practical examples, you'll implement a sequencer, write a type-safe HAL, and apply patterns like Command, State, and Observer to solve embedded problems.

By the end, you’ll be able to apply modern C++ to develop robust, modular firmware with performance matching or exceeding hand-coded C solutions.

*Email sign-up and proof of purchase required

Commencez ce livre dès aujourd'hui pour 0 €

  • Accédez à tous les livres de l'app pendant la période d'essai
  • Sans engagement, annulez à tout moment
Essayer gratuitement
Plus de 52 000 personnes ont noté Nextory 5 étoiles sur l'App Store et Google Play.