Microsoft Bond is a new serialization framework for schematized data created by Microsoft.
Let’s recap where data serialization is used most:
Data persistence in files, streams, NoSQL, and BigData.
Data transmission in networks, IPC, etc.
Commonly, these applications have to deal with schematized data, where schema means:
Structure: hierarchy, relations, order.
Semantic: age in number of years since born.
Actually, any data has schema even if it is implicitly defined or supported by your programming language out-of-box. When it comes to complex data structures, we end up writing supporting data transfer objects (DTOs) and code responsible for IO, often in different languages. As soon as it grows and evolves, it quickly becomes a nightmare to maintain all these pieces. Here is where the serialization frameworks win the game. Continue reading