| commit | f9c2a1d6ba7caef5570f8ed806fd8189dc75ffa8 | [log] [tgz] |
|---|---|---|
| author | Joshua Haberman <jhaberman@gmail.com> | Sat Feb 26 09:56:02 2022 -0800 |
| committer | Joshua Haberman <jhaberman@gmail.com> | Sat Feb 26 09:56:02 2022 -0800 |
| tree | 4f516ec2423f3e32d7b9d2a5b297b3183bc67b66 | |
| parent | 1e75fbf2c2b5457839d3576c9634d2933263c9b2 [diff] |
Fixed copybara tag.
μpb (often written ‘upb’) is a small protobuf implementation written in C.
upb is the core runtime for protobuf languages extensions in Ruby, PHP, and (soon) Python.
While upb offers a C API, the C API & ABI are not stable. For this reason, upb is not generally offered as a C library for direct consumption, and there are no releases.
upb has comparable speed to protobuf C++, but is an order of magnitude smaller in code size.
Like the main protobuf implementation in C++, it supports:
upb also supports some features that C++ does not:
However there are a few features it does not support:
protoc.For Ruby, use RubyGems:
$ gem install google-protobuf
For PHP, use PECL:
$ sudo pecl install protobuf
Please see CONTRIBUTING.md.