[protobuf] Will the next release officially support golang?

2014-03-31 Thread patrick
Hey guys, Will the next release officially support golang? And if so, is the implementation / api based on goprotobuf? (We're looking for alternative to replace goprotobuf ; we are currently considering https://code.google.com/p/gogoprotobuf/.) Thanks, Patrick -- You received this message

[protobuf] How to parse messages coming via streaming (TCP for example)

2014-03-31 Thread Iñaki Baz Castillo
Hi, I want to send PB messages to a server via a persistent TCP connection. The idea is that the client can send lot of messages one behind the other over the same TCP connection. This means that data received in the server may be a complete PB message, a portion of a PB message, or more than

Re: [protobuf] How to parse messages coming via streaming (TCP for example)

2014-03-31 Thread Ilia Mirkin
PB's don't include any protocol at all. Your RPC mechanism will need to provide for this. It's common to do something like a length pb type of thing; you could even use the CodedOutputStream (or its equivalent, depending on the language you're using) to emit the length as a varint, and then stick

Re: [protobuf] How to parse messages coming via streaming (TCP for example)

2014-03-31 Thread Iñaki Baz Castillo
2014-03-31 23:24 GMT+02:00 Ilia Mirkin imir...@alum.mit.edu: PB's don't include any protocol at all. Your RPC mechanism will need to provide for this. It's common to do something like a length pb type of thing; you could even use the CodedOutputStream (or its equivalent, depending on the