A Faster Serialization Library Based on Compile-time Reflection and C++ 20
Offered By: CppCon via YouTube
Course Description
Overview
Explore a conference talk from CppCon 2022 that delves into creating a faster serialization library using compile-time reflection and C++20. Learn how this approach outperforms protobuf and msgpack in terms of ease of use and speed, eliminating the need for DSL definitions, macros, and invasive techniques. Discover the key components of this library, including object reflection with C++20, optimized data format parsing, special optimizations for trivially copyable objects, compile-time type hashing for improved binary data size and deserialization safety, and leveraging std::optional for backward compatibility. Gain insights from Yu Qi, an experienced C++ programmer and founder of an open-source community promoting modern C++ in China, as he shares his expertise in distributed systems and serialization techniques.
Syllabus
Introduction
Other Serialization Libraries
structpack
type checking
hash code
testing
Taught by
CppCon
Related Courses
Python 3: Deep Dive (Part 3 - Dictionaries, Sets, JSON)Udemy Apache Kafka Series - Confluent Schema Registry & REST Proxy
Udemy Java Swing (GUI) Programming: From Beginner to Expert
Udemy Java Programming
Udacity The Ultimate Guide to Savegames in Unity
Udemy