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