On Thu, Oct 2, 2008 at 1:23 PM, Blair Zajac <blair_at_orcaware.com> wrote:
> Mark Phippard wrote:
>> On Thu, Oct 2, 2008 at 4:12 PM, Blair Zajac <blair_at_orcaware.com> wrote:
>>> Justin Erenkrantz wrote:
>>>> On Thu, Oct 2, 2008 at 8:06 AM, <sussman_at_tigris.org> wrote:
>>>>> + XML is out : there's a huge performance penalty for producing and
>>>>> + consuming it, which is why companies like Facebook and Google have
>>>>> + released 'fast wire serialization' libraries like Thrift and
>>>>> + Protocol Buffers. Unfortunately, these libraries require entire
>>>>> + structures to be held in memory in order to serialize/deserialze
>>>>> + them, and this isn't an option when dealing with something
>>>>> + (potentially) infinitely large like an editor-drive.
>>>> Then perhaps we should look at improving Thrift parsing to be streamy.
>>>> I'd rather use a library than a custom serialization format - as you
>>>> said, one of the goals should be used to make it simpler to
>>>> understand. And, one of the ways to do that is to go "Learn Thrift"
>>>> rather than read our custom (de)serialization code. =)
>>> Is there a reason why you want to make Thrift parsing be streamy instead
>> Neither seems to particularly support C.
>> I notice Thrift compiles in Cygwin and requires things like Boost.
>> These all seem line "non-starters" to me.
> There is a C-only protobuf port:
> I haven't looked at it.
> BTW, I'm using protobuf in our C++ svn server already, so I'm a little
> biased in that direction :)
The Apache Thrift project is going to be more open to external patches
and development. While Google (as an entity) would love for protobufs
to get those kinds of changes, I'm familiar with the developer who
worked on the protobuf code, and he is NOT what I'd call an
"inclusive" Open Source developer.
Also, take a look at:
On balance, Thrift is looking further developed, though with worse docco.
For a pure C version, I'd lay odds on that being possible in Thrift
more than protobuf cuz of the contribution/inclusivity thing.
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-10-02 22:26:50 CEST