Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Protobuf | 58,748 | 9,896 | 2,433 | an hour ago | 110 | September 14, 2022 | 836 | other | C++ | |
Protocol Buffers - Google's data interchange format | ||||||||||
Flatbuffers | 20,115 | 528 | a day ago | 236 | August 30, 2022 | 132 | apache-2.0 | C++ | ||
FlatBuffers: Memory Efficient Serialization Library | ||||||||||
Capnproto | 9,754 | 5 hours ago | 178 | other | C++ | |||||
Cap'n Proto serialization/RPC system - core tools and C++ library | ||||||||||
Twirp | 6,420 | 35 | 120 | 10 days ago | 51 | April 05, 2022 | 3 | apache-2.0 | Go | |
A simple RPC framework with protobuf service definitions | ||||||||||
Cellnet | 3,878 | 7 | 3 months ago | 3 | June 12, 2019 | 8 | mit | Go | ||
High performance, simple, extensible golang open source network library | ||||||||||
Evans | 3,565 | 5 | a month ago | 48 | August 26, 2022 | 20 | mit | Go | ||
Evans: more expressive universal gRPC client | ||||||||||
Msec | 2,724 | 3 years ago | 31 | other | Java | |||||
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 Pbrpc | 2,044 | a year ago | 52 | other | C++ | |||||
A light-weight RPC implement of google protobuf RPC framework. | ||||||||||
Netty Learning Example | 1,954 | 2 years ago | 4 | apache-2.0 | Java | |||||
:egg: Netty实践学习案例,见微知著!带着你的心,跟着教程。我相信你行欧。 | ||||||||||
Connect Go | 1,886 | 25 | 3 hours ago | 2 | June 06, 2022 | 10 | apache-2.0 | Go | ||
Simple, reliable, interoperable. A better gRPC. |
Copyright 2008 Google Inc.
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.
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 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 |
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.
The complete documentation is available at the Protocol Buffers doc site.
Read about our version support policy to stay current on support timeframes for the language libraries.
To be alerted to upcoming changes in Protocol Buffers and connect with protobuf developers and users, join the Google Group.