| ||||
| ||||
![]() Title:Modern C++ in Resource-Constrained Edge Systems: an ESP32 Evaluation Bridging Efficiency and Practical AI Applications Conference:ACIIDS2026 Tags:esp-idfFirst, esp32, memory usage, modern C++ standards and performance Abstract: The article presents the results of a study on the use of modern C++ language features in embedded systems. The experiments were carried out on an ESP32 microcontroller, comparing traditional programming approaches with features introduced in C++11 and later standards - such as \texttt{constexpr}/\texttt{consteval}, move semantics, smart pointers, \newline \texttt{std::optional}/\texttt{std::expected}, static containers, and \texttt{if constexpr} conditional expressions. For each test case, execution time, RAM and Flash memory usage, binary size, and the extent of dynamic memory allocation were measured. The results demonstrate that modern C++ idioms can be effectively employed in resource-constrained environments without incurring significant performance penalties. In some instances, performance even improved due to compiler optimizations. Memory and binary size overheads were minimal and within acceptable limits. Furthermore, the use of modern C++ features enhances code quality, improves memory safety, and increases the predictability of application behavior. In particular, the study highlights their suitability for edge devices that must execute local AI-oriented workloads such as sensor fusion under strict constraints on determinism, energy efficiency, and long-term maintainability. Modern C++ in Resource-Constrained Edge Systems: an ESP32 Evaluation Bridging Efficiency and Practical AI Applications ![]() Modern C++ in Resource-Constrained Edge Systems: an ESP32 Evaluation Bridging Efficiency and Practical AI Applications | ||||
| Copyright © 2002 – 2026 EasyChair |
