| commit | 1e75fbf2c2b5457839d3576c9634d2933263c9b2 | [log] [tgz] |
|---|---|---|
| author | Joshua Haberman <jhaberman@gmail.com> | Sat Feb 26 09:55:13 2022 -0800 |
| committer | Joshua Haberman <jhaberman@gmail.com> | Sat Feb 26 09:55:13 2022 -0800 |
| tree | 90d9a94be967542fe5995f0912e3aa37029b4f2e | |
| parent | 711885db8ffd4ff201a5ff7f00c431f36e6ccdf4 [diff] |
Ported api_implementation to py_extension().
μ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.