Re: [protobuf] The best way to determine message type for real time apps

2010-01-16 Thread Alex Richardson
Madhav, When you receive a raw string of bytes containing a message, you must first know the type of the message before you can parse/deserialize it. For example, with C++, you must first instantiate a message of the appropriate type, and then parse the bytes into the newly instantiated message

Haskell version and [protobuf] 2.3.0 released

2010-01-16 Thread Chris Kuklewicz
I want to mention that I will be updating the Haskell version of protocol-buffers to be compatible with the new protobuf-2.3.0 release. If people are interested in it getting updated sooner then I will get it updated a bit quicker, otherwise it will take a little while. A question for Kenton or

Re: Haskell version and [protobuf] 2.3.0 released

2010-01-16 Thread Kenton Varda
Have you considered refactoring your compiler into the form of a code generator plugin? Then you would not have to maintain your own parser anymore, you'd get the .zip output feature for free, and you could add insertion points to your code for someone else to extend it to support an RPC system.