MessagePack(msgpack) - A Compact and Fast Serialization Library
summary
MessagePack is a binary JSON-like format that claims smaller size and faster parsing; the C/C++ implementation is header-only C++ and provides pack(stream, ...) and unpack APIs that produce a variant-like msgpack::object convertible via as<T>(). The format encodes element counts and string lengths in headers so parsers need less work, handles raw binary without base64, and supports adapters for STL and boost types including boost::fusion. Implementation supports zero-copy using boost::string_ref and string_view and is used in projects like MQTT broker, Facebook messenger and Uber.
AI-written summary · about
chapters (7)
- 0:00Start
- 0:20About me
- 0:43What is MessagePack?
- 1:31MessagePack vs. JSON
- 2:23Supported Programming Languages
- 3:41MessagePack Adaptors
- 4:22Zero copy deserialization
related talks
58mBoost.Asio and Boost.Serialization, Part I
33mBoost.Asio and Boost.Serialization, Part II
56mEverything is serialization
43mBlazingly Fast Message Queue on Postgres with Rust
35mBeyond JSON: Improving inter-app communication
56mA Fast, Compliant JSON Pull Parser for Writing Robust Applications
59mPersistence squared: persisting persistent data structures
27mEvolution of serialization formats and usage in Go
