A Faster Serialization Library Based on Compile-time Reflection and C++ 20
Offered By: CppCon via YouTube
Course Description
Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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
Automated and Connected Driving ChallengesRWTH Aachen University via edX Basics in computer vision
Higher School of Economics via Coursera Build a Guessing Game Application using C++
Coursera Project Network via Coursera ะก/C++ for competitive programming
Moscow Institute of Physics and Technology via Coursera C++ Interacting with the World and Error Handling
Infosec via Coursera