Binary Object Serialization using Template Argument Deduction (and pseudo-Reflection)

preview_player
Показать описание
Abstract
There are many mechanisms for a program to persist data. Most are slow, bulky, and inflexible, that typically store flat data, in huge unsecure text files and are not able to save complex data structures.

I will present a minimally intrusive technique for serializing data, in a binary format, that is lean and flexible (schema free). When storing, it can deduce the data types. When loading it will dynamically create complex data structures. This is done through Template Argument Deduction and a technique representative of reflection. Reflection is unavailable as language feature being that it has deferred until C++23 or C++26. This is compliant with C++14 or later, platform agnostic and marco free.

In addition to archiving data to files, it has an extensible interface for bidirectional communication between processes and/or remote computers, via sockets. Techniques will be demonstrated to minimize storage footprint and secure archived data.
Speaker Bio
Chris Ryan, Classic C & Modern C++ Junkie Extraordinaire, A self-actualized geek. I was classically educated in Hardware and Software Engineering. After college, I mostly used ‘C’, until the mid-early 90’s when C++ became my primarily language. I have worked with many companies in engineering, science, medical, robotics and business domains, as an FTE and a contractor, from doing firmware & embedded projects to extremely complex massive systems. I frequently work on number crunching engines and low-level communication protocols. I have done everything from graphical/pixel pushing/user interfaces to drivers to database systems. I have worked on CppCon as a volunteer staff member. I manage multiple technical groups on LinkedIn, mostly around C, C++ and embedded.
Рекомендации по теме