Talk

Serialization with blackjack and metaprogramming

  • In Russian
Presentation pdf

It's impossible to imagine a developer who has never faced the problem of serialization. Classically serialization in C++ looks like "virtual string serialize() const = 0;" or is generated automatically through reflection. However, either way, need access to the basic class or the private fields of the class. But what if they are not available?

In this talk, Alexander will describe an approach to semi-automatic serialization through getters with help of metaprogramming. In the process we will "reveal" the getter signature, apply meta magic to call it, face recursive patterns (we will understand why it's bad and how to deal with it), also, we will find out what is the gain of the approach and what its price is.

  • #reflection
  • #serialization
  • #templates

Speakers

Talks