|
il y a 3 semaines | |
---|---|---|
.. | ||
.bazelci | il y a 3 semaines | |
.github | il y a 3 semaines | |
bazel | il y a 3 semaines | |
benchmarks | il y a 3 semaines | |
cmake | il y a 3 semaines | |
doc | il y a 3 semaines | |
python | il y a 3 semaines | |
third_party | il y a 3 semaines | |
upb | il y a 3 semaines | |
upbc | il y a 3 semaines | |
.bazelignore | il y a 3 semaines | |
.bazelrc | il y a 3 semaines | |
.clang-format | il y a 3 semaines | |
.gitignore | il y a 3 semaines | |
BUILD | il y a 3 semaines | |
CONTRIBUTING.md | il y a 3 semaines | |
DESIGN.md | il y a 3 semaines | |
LICENSE | il y a 3 semaines | |
README.md | il y a 3 semaines | |
WORKSPACE | il y a 3 semaines | |
rename.sed | il y a 3 semaines | |
run_sed.sh | il y a 3 semaines |
μ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.