[protobuf] Re: What's the point of Protocol Buffers?

2010-07-26 Thread RogerV
On Jul 21, 3:57 am, Tim Acheson tim.ache...@gmail.com wrote: I generally create web services using WCF or ASP.NET MVC. I don't get the point of Protocol Buffers. Am I missing something? It'd be a similar set of reasons as to why we abandoned XML and JSON in favor of AMF when marshaling i/o

[protobuf] Re: What's the point of Protocol Buffers?

2010-07-25 Thread gsxr
On Jul 21, 10:57 pm, Tim Acheson tim.ache...@gmail.com wrote: I generally create web services using WCF or ASP.NET MVC. I don't get the point of Protocol Buffers. Am I missing something? snip I don't need to write any code to do the serialisation, either. I just define the return type of

Re: [protobuf] Re: What's the point of Protocol Buffers?

2010-07-25 Thread Marc Gravell
And of course, if you *are* happy using WCF and .NET, with all the simplicity that provides, you can *still* use protobuf, since protobuf-net includes a WCF hook that (if you desire) swaps-out the serializer used by WCF. So your *existing* .NET code (bereft of any .proto definition) can enjoy

[protobuf] Re: What's the point of Protocol Buffers?

2010-07-24 Thread Christopher Smith
There is also the other end of the spectrum, where I am at. With a large Hadoop cluster and terabytes of data, the efficient storage and zippy parsing of protobufs is a huge deal. In many ways, protobufs allow you do do what XML promised, but much more efficiently. The other way to look at them

Re: [protobuf] Re: What's the point of Protocol Buffers?

2010-07-24 Thread Oliver Jowett
Christopher Smith wrote: There is also the other end of the spectrum, where I am at. With a large Hadoop cluster and terabytes of data, the efficient storage and zippy parsing of protobufs is a huge deal. In many ways, protobufs allow you do do what XML promised, but much more efficiently.

Re: [protobuf] Re: What's the point of Protocol Buffers?

2010-07-24 Thread Christopher Smith
On Sat, Jul 24, 2010 at 3:22 PM, Oliver Jowett oliver.jow...@gmail.comwrote: Christopher Smith wrote: There is also the other end of the spectrum, where I am at. With a large Hadoop cluster and terabytes of data, the efficient storage and zippy parsing of protobufs is a huge deal. In

[protobuf] Re: What's the point of Protocol Buffers?

2010-07-23 Thread cmichael
   3.  Schema evolution supported out-of-the-box (backward compatibility) 4. Also, because of the schema, protobufs are strongly typesafe, and JSON is not. 5. Using the APIs makes programs easier to understand and debug, versus libraries that support object serialization as an afterthought,

[protobuf] Re: What's the point of Protocol Buffers?

2010-07-22 Thread Tim Acheson
The consensus seems to be that the main rationale for Protocol Buffers is cross-platform interoperability, and transferring objects between platforms. I can already consume JSON objects from a WCF service using JavaScript in the web browser. I can see that if I used other platforms/languages I

Re: [protobuf] Re: What's the point of Protocol Buffers?

2010-07-22 Thread sheila miguez
On Thu, Jul 22, 2010 at 3:01 AM, Tim Acheson tim.ache...@gmail.com wrote: The consensus seems to be that the main rationale for Protocol Buffers is cross-platform interoperability, and transferring objects between platforms. I can already consume JSON objects from a WCF service using

[protobuf] Re: What's the point of Protocol Buffers?

2010-07-22 Thread Tim Acheson
If you can show me a format which offers faster serialisation or deserialisation than JSON in a .NET application, I'd be impressed! :) Although I haven't heard anybody experiencing problems with the performance of either direction in .NET with JSON or XML, the libraries provided by the framework

Re: [protobuf] Re: What's the point of Protocol Buffers?

2010-07-22 Thread Henner Zeller
On Thu, Jul 22, 2010 at 07:50, Tim Acheson tim.ache...@gmail.com wrote: If you can show me a format which offers faster serialisation or deserialisation than JSON in a .NET application, I'd be impressed! :) If the speed and size of JSON serialization is good enough for you, stick with it.

Re: [protobuf] Re: What's the point of Protocol Buffers?

2010-07-22 Thread Marc Gravell
If you can show me a format which offers faster serialisation or deserialisation than JSON in a .NET application, I'd be impressed! :) In .NET? Sure: vs which json engine? I'm pretty certain that protobuf-net (especially v2, but probably v1) can thrash it. This is v1, which is quite a bit