|
пре 3 недеља | |
---|---|---|
.. | ||
.bazelci | пре 3 недеља | |
.github | пре 3 недеља | |
bazel | пре 3 недеља | |
benchmarks | пре 3 недеља | |
cmake | пре 3 недеља | |
doc | пре 3 недеља | |
python | пре 3 недеља | |
third_party | пре 3 недеља | |
upb | пре 3 недеља | |
upbc | пре 3 недеља | |
.bazelignore | пре 3 недеља | |
.bazelrc | пре 3 недеља | |
.clang-format | пре 3 недеља | |
.gitignore | пре 3 недеља | |
BUILD | пре 3 недеља | |
CONTRIBUTING.md | пре 3 недеља | |
DESIGN.md | пре 3 недеља | |
LICENSE | пре 3 недеља | |
README.md | пре 3 недеља | |
WORKSPACE | пре 3 недеља | |
rename.sed | пре 3 недеља | |
run_sed.sh | пре 3 недеља |
μ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.