~/talk

Implementing Wire Protocols with Boost Fusion

Talkat CppCon 2014 · on Tuesday, 2014-09-09· at 14:00· Euler· [networking]
links:none on file
slides:none on file

Claims a reusable serializer that maps nonstandard binary exchange messages into modern C++ types using Boost Fusion and Boost.MPL rather than packed C overlays, demonstrates concrete reader/writer code using ASIO const/mutable buffers, type dispatch with enable_if/SFINAE, handling of nested variable‑length fields, optional bitmasks, and lazy string_view semantics, provides GitHub source and slides, and reports production‑scale use parsing market data with nanosecond‑range performance on real feeds.

AI-written summary · about

  1. 0:00Start
  2. 3:28Reflection?
  3. 4:47A container of types and values
  4. 5:40Asio buffers
  5. 6:54Member-wise visitation
  6. 8:03From packed struct to Fusion struct
  7. 10:59Fixing up byte ordering
  8. 13:30Enumerated Values
  9. 18:16Sequences of types
  10. 18:43Maps of types
  11. 19:35Multiple variable length fields
  12. 20:03Framing
  13. 23:21User defined types
  14. 26:25Nested Fusion structs
  15. 26:55Adapted Types
  16. 29:03Optional Fields
  17. 36:16Lazy/View Types
  18. 36:42String view
  19. 37:49Lazy types
  20. 39:37Generic lazy
  21. 41:42A non-trivial protocol
  22. 43:11Getting field names
~/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.