Wednesday
Room 3
11:40 - 12:40
(UTC+02)
Talk (60 min)
Adventures in Serialization: A Flexible Approach for Embedded Systems in C++
Serialization in embedded systems often goes far beyond standard formats like JSON or XML. While integrating hundreds of different messages across a wide range of sensors for next-generation military submarines, our team encountered archaic and highly specialized data formats—including 5-bit integers, 3-byte floating-point numbers, and manufacturer-specific encodings.
This talk will detail our approach to building a flexible and efficient serialization library in C++. Inspired by libraries like cereal but designed for the unique constraints of embedded systems, our solution enables complex data formats to be implemented declaratively - minimizing code duplication across serialization, deserialization, and logging.
Attendees will gain insights into leveraging C++ templates and concepts to design serialization systems that balance adaptability with maintainability.