2. What is protocol buffers
• Protocol buffers are Google's language-neutral, platform-
neutral, extensible mechanism for serializing structured
data – **think XML, but smaller, faster, and simpler**.
message Person {
optional int32 id = 1;
optional string name = 2;
repeated string email = 3;
}
3. Advantages over JSON
• Less Boilerplate code
• Easy Language Interoperability
• Faster (de)serialisation
5. What I did
• Porting C glue code to Java, guided by the existing
specs.
• C: https://github.com/google/upb
• Java: Protobuf Java reflection API
(DynamicMessage)