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