Overview
Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
This conference talk explores the development of XOffsetDatastructure, a high-performance serialization library designed specifically for the game industry that achieves zero-encoding and zero-decoding capabilities. Learn how modern C++ techniques are leveraged to create a solution that significantly reduces or eliminates serialization performance overhead. Discover the implementation details including custom allocators that maintain contiguous memory for direct transmission, offset pointers that preserve validity after buffer resizing, and specialized containers supporting these features. The presentation includes performance comparisons demonstrating XOffsetDatastructure's advantages over other modern C++ serialization libraries in terms of encoding/decoding time, read/write performance, and message size. Presented by Fanchen Su, a game R&D expert with over 20 years of C++ experience and a PhD in Computer Science from Wuhan University, this CppCon 2024 talk provides valuable insights for developers seeking to optimize serialization processes in performance-critical applications.
Syllabus
Using Modern C++ to Build XOffsetDatastructure - Zero-Encoding & Zero-Decoding Serialization Library
Taught by
CppCon