~/talk

Building an Extensible Type Serialization System Using Partial Template Specialization

Talkat CppCon 2021 · on Friday, 2021-10-29· at 13:30· online· [databases]
slides:none on file

A compact, pragmatic survey that builds and demos an extensible type-serialization prototype on top of FlatBuffers, showing how partial template specialization gets you compile-time dispatch while C++20 Concepts and ADL simplify intent and diagnostics; includes a working proof‑of‑concept that lets users register custom serializers and shows when runtime registration is unavoidable, plus tradeoffs in developer experience, error quality, and scalability — practical code examples and migration patterns rather than high-level platitudes.

AI-written summary · about

  1. 0:00Start
  2. 0:50Building an Extensible Type Serialization System Using Partial Template Specialization
  3. 1:39Building a Serialization Library
  4. 3:04Inspiration
  5. 10:00Function Overloading
  6. 10:53Callbacks
  7. 11:59Json Library
  8. 14:18Boost Serialization
  9. 16:25Class Template Specialization
  10. 16:47Partial Template Specialization
  11. 20:40Using Partial Template Specialization
  12. 27:23Arrays
  13. 27:59Type Alias
  14. 32:25Numeric Values
  15. 35:55Problem with Serialization Libraries
  16. 38:32Code Example
  17. 41:27Macros
  18. 43:12Static Reflection
  19. 45:54Technical Specification Draft
  20. 50:41Conclusion
~/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.