|
преди 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.