Protocol Buffers - Google's data interchange format (grpc依赖) https://developers.google.com/protocol-buffers/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Joshua Haberman 56f7a345d7 x86 JIT: now works without -NDNDEBUG (also small perf increase). 13 years ago
benchmarks Const invasion: large parts of upb made const-correct. 13 years ago
bindings Header tweaking. 13 years ago
dynasm First rough version of the JIT. 14 years ago
examples Added an example, constified some more methods. 13 years ago
tests Added an example, constified some more methods. 13 years ago
tools Const invasion: large parts of upb made const-correct. 13 years ago
upb x86 JIT: now works without -NDNDEBUG (also small perf increase). 13 years ago
.gitignore Makefile is much improved ("make deps" works again, etc). 16 years ago
LICENSE Update copyright to be Google Inc. 14 years ago
Makefile x86 JIT: now works without -NDNDEBUG (also small perf increase). 13 years ago
README Renamed lang_ext -> bindings, README updates. 13 years ago
perf-regression-test.py Decoder redesign in preparation for packed fields and start/endseq. 14 years ago
perf-tests.sh Fix perf-tests.sh to skip building non-upb tests. 13 years ago

README


upb - a small, low-level protocol buffer library

For API documentation, see the header files.

To build (the core library is ANSI C99 and has no dependencies):
$ make

Other useful targets:
$ make test
$ make benchmark
$ make lua (requires lua libraries to be installed)

The tests and benchmarks have the following dependencies
(Ubuntu package names in parentheses):
- Google's protobuf compiler + libraries (protobuf-compiler, libprotobuf-dev)
- Lua binary and libraries (lua5.1, liblua5.1-dev)

Issue tracking is on Google Code:
http://code.google.com/p/upb/issues/list

A manual is forthcoming, for now see wiki docs at:
https://github.com/haberman/upb/wiki

API and ABI are both subject to change! Please do not distribute as a shared
library for this reason (for now at least).

TODO
====

The issue tracker contains small-to-medium tasks that need doing; but here are
the major things that are broken or not yet implemented yet:

- serialization isn't written yet (only deserialization)


CONTACT
=======

Author: Josh Haberman (jhaberman@gmail.com, haberman@google.com)
See LICENSE for copyright information.