| commit | 91713481fdd3de2a09101c15939483d1113b1a2a | [log] [tgz] |
|---|---|---|
| author | Joshua Haberman <jhaberman@gmail.com> | Tue Mar 08 16:08:24 2022 -0800 |
| committer | Joshua Haberman <jhaberman@gmail.com> | Tue Mar 08 16:08:24 2022 -0800 |
| tree | 012557af7a1432bf4144d901a1000d870c84f2b9 | |
| parent | 50c1298f3261872e48ae09dc96ab177c41291b6b [diff] |
Clang format.
μ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.