Embedded Logging Case Study: From C to Shining C++ - Luke Valenty -CppNow 2022

Описание к видео Embedded Logging Case Study: From C to Shining C++ - Luke Valenty -CppNow 2022

Slides: https://github.com/boostcon
CppNow Website: https://www.cppnow.org​
CppNow Twitter: @CppNow​
---

Embedded Logging Case Study: From C to Shining C++ - Luke Valenty -CppNow 2022

Logging on deeply embedded systems is critical for project success. However, the constraints of tiny CPUs and memory can force firmware engineers to settle for sub-optimal solutions. String formatting, concatenation, and easy to use logging functions can seem like luxuries deeply embedded systems cannot afford. Instead, many embedded logging libraries use manually allocated message IDs, string hashing, and source code parsing to implement logging solutions that fit the performance budget.

Modern C++ and CTRE provide enough features to enable logging with minimal runtime and memory overhead. Leveraging template metaprogramming, string_constant is created with std::string_view at its heart. Using this pattern, new strings can be created and manipulated at compile-time and string_constants can be formatted with both compile-time and runtime arguments.

Join Luke as he walks you through his team's challenges with logging starting in C and ending up with their ideal solution in C++.
---

Luke Valenty

Luke started his career at Intel in 2008 as a hardware validation engineer developing tools to validate chip designs in simulation. Since 2018 Luke has been working as a lead firmware engineer for deeply embedded components. His team is embracing modern C++ and leaving C woes behind.
---

Videos Filmed & Edited By Bash Films https://bashfilms.com/
YouTube Channel Managed By Digital Medium Ltd: https://events.digital-medium.co.uk

#Boost​ #Cpp​ #CppNow​

Комментарии

Информация по комментариям в разработке