~/talk

Boost.Asio and Boost.Serialization, Part I

Talkat CppCon 2014 · on Sunday, 2014-09-07· [databases]
slides:none on file

A concrete prototype message system uses Boost.Asio for networking and Boost.Serialization for object transmission, implementing an echo server, two-thread runtime (IO thread + execution thread), and a parcel queue that defers deserialization to the execution thread. Code on GitHub shows how derived-class serialization via explicit registration works, how shared_ptr and archives (binary/text/XML) are used, and discusses zero-copy, compression tradeoffs and a ~500-line example of active messages (serializing std::function-like actions).

AI-written summary · about

  1. 0:00Start
  2. 0:30Introduction
  3. 5:39Asio: Buffers
  4. 7:28Asio: Streams
  5. 7:49Asio: Echo Server
  6. 15:36Serialization: Archives
  7. 18:12Serialization: Coordinates
  8. 20:13Serialization: Derived Classes
  9. 22:06Serialization: Alternatives
  10. 30:16Object Transmission
~/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.