Loading…
CppCon 2019 has ended
Thursday, September 19 • 14:00 - 15:00
Reading Binary Data with Style: A Serialization Framework for C++17

Log in to save this to your schedule and see who's attending!

Reading structured data from a file or network stream remains cumbersome and error-prone in C++, especially when data validation is required. Existing approaches require too much boilerplate, aren't always portable, and may be restricted to specific data sources. Despite these limitations, there have been few alternatives in the past.

This talk introduces blobify, an experimental serialization framework for C++17 designed to convert user-defined structs to binary data blobs and vice-versa. Contrary to similar frameworks, blobify largely automates the process, and it includes an embedded domain specific language to handle data validation.

I will describe blobify's API design and usage, explain how it works under the hood, and provide an outlook at what the Reflection TS has in store for future improvements.

Link to the library on GitHub: https://github.com/neobrain/blobify

Speakers
avatar for Tony Wasserka

Tony Wasserka

Consultant
Low-level anything: Tony is a consultant and long-term C++ enthusiast who has worked on the console emulator projects Dolphin (GameCube/Wii), PPSSPP (PSP), and Mikage (3DS) since 2010. More recently, he has worked on Vulkan graphics drivers for PowerVR graphics processors. His main... Read More →


Thursday September 19, 2019 14:00 - 15:00
Summit 4/5
  • Level Beginner, Intermediate
  • Tags C++17

Attendees (133)




Twitter Feed