Added
Link Here
|
1 |
This is a python wrapping of the C++ implementation of the Cap'n Proto |
2 |
library. Here is a short description, quoted from its docs: |
3 |
|
4 |
Cap'n Proto is an insanely fast data interchange form and capability-based |
5 |
RPC system. Think JSON, except binary. Or think Protocol Buffers, except |
6 |
faster. In fact, in benchmarks, Cap'n Proto is INFINITY TIMES faster than |
7 |
Protocol Buffers. |
8 |
|
9 |
Since the python library is just a thin wrapping of the C++ library, it |
10 |
inherits a lot of what makes Cap'n Proto fast. In some simplistic benchmks |
11 |
(available in the benchmark directory of the repo), pycapnp has proven to be |
12 |
decently faster than Protocol Buffers (both pure python and C++ |
13 |
implementations). Also, the python capnp library can load Cap'n Proto schema |
14 |
files directly, without the need for a seperate compile step like with Protocol |
15 |
Buffers or Thrift. pycapnp is available on github and pypi. |
16 |
|
17 |
WWW: http://capnproto.github.io/pycapnp/ |