{"product_id":"9781835881149","title":"C++ in Embedded Systems : A practical transition from C to modern C++","description":"\u003cp\u003eGo beyond C by applying modern C++ in embedded systems to enhance code readability, maintainability, and scalability\n\u003cbr\u003eFree with your book: DRM-free PDF version + access to Packt's next-gen Reader*\u003c\/p\u003e\n\n\u003cp\u003eKey Features\u003c\/p\u003e\n\n\u003cp\u003eBridge the gap between C and modern C++ for embedded systems through practical examples\n\u003cbr\u003eLearn how to save memory and cut down on runtime computing using compile-time computation techniques\n\u003cbr\u003eImprove your software design skills by applying patterns to solve common problems in embedded systems using C++\n\u003cbr\u003ePurchase of the print or Kindle book includes a free PDF eBook\u003c\/p\u003e\n\n\u003cp\u003eBook DescriptionTransitioning 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++.\n\u003cbr\u003eStarting 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.\n\u003cbr\u003eBy the end, you'll be able to apply modern C++ to develop robust, modular firmware with performance matching or exceeding hand-coded C solutions.\n\u003cbr\u003e*Email sign-up and proof of purchase requiredWhat you will learn\u003c\/p\u003e\n\n\u003cp\u003eDebunk myths and misconceptions about using C++ in embedded systems\n\u003cbr\u003eSet up build automation tailored for C++ in constrained environments\n\u003cbr\u003eLeverage strong typing to improve type safety\n\u003cbr\u003eApply modern C++ techniques, such as Resource Acquisition Is Initialization (RAII)\n\u003cbr\u003eUse Domain Specific Language (DSL) with a practical example using Boost SML\n\u003cbr\u003eImplement software development best practices, including the SOLID principle, in embedded development\u003c\/p\u003e\n\n\u003cp\u003eWho this book is forThis book is for embedded developers who primarily use C and want to adopt a modern C++ approach. It introduces fundamental C++ concepts, making it suitable for beginners, while also assuming basic familiarity to fully leverage advanced features like compile-time computation. Even those with prior C++ experience will discover new ways to apply modern best practices to write more efficient and maintainable embedded applications.\u003c\/p\u003e","brand":"Packt Publishing Limited","offers":[{"title":"Default Title","offer_id":48868630855915,"sku":"EB_CP0800_F24-04_SIMS","price":86.13,"currency_code":"SGD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0758\/4484\/5803\/files\/9781835881149-1.jpg?v=1781706458","url":"https:\/\/kinokuniya.com.sg\/products\/9781835881149","provider":"Books Kinokuniya Singapore","version":"1.0","type":"link"}