From the course: Beginner's Guide to Go Protocol Buffer

Unlock the full course today

Join today to access over 24,700 courses taught by industry experts.

What are protocol buffers (protobuf)?

What are protocol buffers (protobuf)? - Go Tutorial

From the course: Beginner's Guide to Go Protocol Buffer

What are protocol buffers (protobuf)?

- [Instructor] According to Google, protocol buffers, or protobufs, are Google's language-neutral, platform neutral, extensible mechanism for serializing structured data. Think XML, but smaller, faster, and simpler. Protobufs are a combo of definition language, the code that the proto compiler generates to interface with data, language-specific runtime libraries, and the serialization format for data that is written to a file or sent across a network connection. The idea being, you define the structure of your data once in protobufs, and then generate language-specific libraries for you to use in your services. With proto3, you can generate code in Java, Python, Objective-C, C++, Kotlin, Dart, Go, Ruby, PHP, and C#. Because protobufs support adding or updating definitions only in a way that won't impact the usage of previous versions, you won't be forced to update your code to the latest version, which means no breaking…

Contents