Does thrift protocol support the "repeateds" field mentioned in the protobuf doc? This is very handy for implementing streaming/scanning efficiently. According to the thrift paper, the thrift encoding itself is designed to support streaming. But it seems that the thrift language is not expressive enough to support it. list/set/map just doesn't cut it (you can't do anything with it until they're fully instantiated). The repeated field can be naturally translated into an iterator/enumerator interface in native languages.

__Luke

On Jul 8, 2008, at 7:24 AM, Chad Walters wrote:

Looking over Google's documentation, it doesn't appear that there is much in Protocol Buffers that we don't offer and obviously Thrift does a lot more than PB.

Probably the place where we suffer the most in comparison is documentation. I intend to spend some time soon (this weekend?) throwing up more documentation on the Wiki. Once I get that done, I'd love some folks to look it over, give comments, and refine it.

Chad

On 7/7/08 3:32 PM, "Jeff Hammerbacher" <[EMAIL PROTECTED]> wrote:

pretty interesting:
http://google-code-updates.blogspot.com/2008/07/protocol-buffers-our-serialized.html .
no mention of stubby...



Reply via email to