Live data from Hacker News

Pyrobuf: A Cython Alternative to Google's Python Protobuf Library

github.com

1–10 of 36 posts

Re: Pyrobuf: A Cython Alternative to Google's Python Protobuf Library

#4
Thrift is a very similar system for message serialization to Protobuf.

The thriftpy project implements a pure Python parser for thrift files that dynamically generates Python modules without a build/codegen step. Also has Py2, Py3, and PyPy support.

Awesome library for this sort of thing. Includes a Cython impl of Thrift parsing/serialization, too:

https://github.com/eleme/thriftpy

Re: Pyrobuf: A Cython Alternative to Google's Python Protobuf Library

#5
post #3
post #2

If your looking for a speedy alternative to protobuf then you owe it to yourself to try flatbuffers. https://google.github.io/flatbuffers/

Don't bother, go directly to cap'n proto: https://capnproto.org

Last I looked cap'n proto didn't have any msvc support.

Re: Pyrobuf: A Cython Alternative to Google's Python Protobuf Library

#6
post #3
post #2

If your looking for a speedy alternative to protobuf then you owe it to yourself to try flatbuffers. https://google.github.io/flatbuffers/

Don't bother, go directly to cap'n proto: https://capnproto.org

Lets play Cap'n proto documentation or Disney film catchphrase! 1. "If the pattern holds, there will be an infinite number of releases before the end of this month." 2. "Infinity Faster!" 3. "To infinity and beyond!" ɹɐǝʎʇɥƃıן zznq s,ʎǝusıp sı Ɛ :ɹǝsʍu∀

Re: Pyrobuf: A Cython Alternative to Google's Python Protobuf Library

#8
post #5
post #3

Earlier quoted context omitted.

Don't bother, go directly to cap'n proto: https://capnproto.org

Last I looked cap'n proto didn't have any msvc support.

The last release added it (partially). "The core serialization functionality sufficient for 90% of users is available, but reflection and RPC APIs are not."

Re: Pyrobuf: A Cython Alternative to Google's Python Protobuf Library

#10

Thrift is a very similar system for message serialization to Protobuf. The thriftpy project implements a pure Python parser for thrift files that dynamically generates Python modules without a build/codegen step. Also has Py2, Py3, and PyPy support. Awesome library for this sort of thing. Includes a Cython impl of Thrift parsing/serialization, too: https://github.com/eleme/thriftpy

relevant: https://martin.kleppmann.com/2012/12/05/schema-evolution-in-...
Post reply on HN