Protobuf

Protocol buffers are Google’s language-neutral, platform-neutral, extensible mechanism for serializing structured data – think XML, but smaller, faster, and simpler. You define how you want your data to be structured once, then you can use special generated source code to easily write and read your structured data to and from a variety of data streams and using a variety of languages.

A proto definition.

message Person {
  optional string name = 1;
  optional int32 id = 2;
  optional string email = 3;
}

Official Guide

The “every day” part is important, because consistency is key to most things worth doing.

This is a sapling 🌱 in my digital garden 🏡.

Notes mentioning this note


Here are all the notes in this garden, along with their links, visualized as a graph.