Protobuf

Protocol Buffers - Google's data interchange format
Alternatives To Protobuf
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Protobuf58,7489,8962,433an hour ago110September 14, 2022836otherC++
Protocol Buffers - Google's data interchange format
Flatbuffers20,115528a day ago236August 30, 2022132apache-2.0C++
FlatBuffers: Memory Efficient Serialization Library
Capnproto9,754
5 hours ago178otherC++
Cap'n Proto serialization/RPC system - core tools and C++ library
Twirp6,4203512010 days ago51April 05, 20223apache-2.0Go
A simple RPC framework with protobuf service definitions
Cellnet3,87873 months ago3June 12, 20198mitGo
High performance, simple, extensible golang open source network library
Evans3,5655a month ago48August 26, 202220mitGo
Evans: more expressive universal gRPC client
Msec2,724
3 years ago31otherJava
Mass Service Engine in Cluster(MSEC) is opened source by QQ team from Tencent. It is a backend DEV &OPS engine, including RPC,name finding,load balance,monitoring,release and capacity management.
Sofa Pbrpc2,044
a year ago52otherC++
A light-weight RPC implement of google protobuf RPC framework.
Netty Learning Example1,954
2 years ago4apache-2.0Java
:egg: Netty实践学习案例,见微知著!带着你的心,跟着教程。我相信你行欧。
Connect Go1,886253 hours ago2June 06, 202210apache-2.0Go
Simple, reliable, interoperable. A better gRPC.
Alternatives To Protobuf
Select To Compare


Alternative Project Comparisons
Readme

Protocol Buffers - Google's data interchange format

Copyright 2008 Google Inc.

Overview

Protocol Buffers (a.k.a., protobuf) are Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data. You can learn more about it in protobuf's documentation.

This README file contains protobuf installation instructions. To install protobuf, you need to install the protocol compiler (used to compile .proto files) and the protobuf runtime for your chosen programming language.

Protocol Compiler Installation

The protocol compiler is written in C++. If you are using C++, please follow the C++ Installation Instructions to install protoc along with the C++ runtime.

For non-C++ users, the simplest way to install the protocol compiler is to download a pre-built binary from our GitHub release page.

In the downloads section of each release, you can find pre-built binaries in zip packages: protoc-$VERSION-$PLATFORM.zip. It contains the protoc binary as well as a set of standard .proto files distributed along with protobuf.

If you are looking for an old version that is not available in the release page, check out the Maven repository.

These pre-built binaries are only provided for released versions. If you want to use the github main version at HEAD, or you need to modify protobuf code, or you are using C++, it's recommended to build your own protoc binary from source.

If you would like to build protoc binary from source, see the C++ Installation Instructions.

Protobuf Runtime Installation

Protobuf supports several different programming languages. For each programming language, you can find instructions in the corresponding source directory about how to install protobuf runtime for that specific language:

Language Source
C++ (include C++ runtime and protoc) src
Java java
Python python
Objective-C objectivec
C# csharp
Ruby ruby
Go protocolbuffers/protobuf-go
PHP php
Dart dart-lang/protobuf
Javascript protocolbuffers/protobuf-javascript

Quick Start

The best way to learn how to use protobuf is to follow the tutorials in our developer guide.

If you want to learn from code examples, take a look at the examples in the examples directory.

Documentation

The complete documentation is available at the Protocol Buffers doc site.

Support Policy

Read about our version support policy to stay current on support timeframes for the language libraries.

Developer Community

To be alerted to upcoming changes in Protocol Buffers and connect with protobuf developers and users, join the Google Group.

Popular Protocol Buffers Projects
Popular Rpc Projects
Popular Data Formats Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
C Plus Plus
Rpc
Protocol Buffers
Protobuf
Protoc
Marshalling