~/talk

Reading Binary Data with Style: A Serialization Framework for C++17

Talkat CppCon 2019 · 2019-09-15..09-20· [software-architecture]
slides:none on file

Experimental header-only C++17 library blobify converts user structs to compact binary blobs and back, automating construction (including non-trivial constructors) and validation via an embedded DSL called properties. It uses reflection helpers magic_get and magic_enum, stack-reads sizeof(T) bytes into an internal buffer, handles nested structs and endianness conversion, throws specific validation exceptions (unexpected value) on mismatches, and explicitly does not support C bitfields yet. Library is on GitHub, works today but remains experimental.

AI-written summary · about

  1. 0:00Intro
  2. 0:18Who am I
  3. 1:30Disclaimer
  4. 2:23The Problem
  5. 6:00Non Solutions
  6. 15:55Python Construct
  7. 18:10Blobby
  8. 18:30Goals
  9. 20:11Preparation
  10. 20:45Coding
  11. 22:15BMP header
  12. 23:05Loading multiple elements
  13. 24:10What does the blob function do
  14. 28:00Properties
  15. 29:10Magic Constant Problem
  16. 34:40Regular Expressions
  17. 35:55Validate Enum
  18. 39:35Blobstore API
  19. 40:20Randomizing Binary Data
  20. 41:00How does it work
  21. 41:35Magic Add
  22. 45:25No runtime checks
  23. 47:15MetaGenome
  24. 48:00Future plans
  25. 51:15Conclusion
  26. 52:05Questions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.