Re: Peek into a serialized message

2008-12-12 Thread sorent
> Sorry, there's not a reliable way to do this unless you depend the encoder > writing the tags in order, which is not guaranteed. Just to make sure I get this right ... (refering to the "Union Types" example) if I encode a buffer including both Bar and Baz then the order is not guaranteed ... it

Re: google::protobuf::TextFormat::ParseFromString() crash in Release Mode

2008-12-12 Thread anu
Kenton, thanks for the help. yes it was exactly due to the debug verison of the protobuf DLL used in an application build in Release. After we changed all binaries (libprotobuf, libprotc) to release build every thing started working. Cheers Anu On Dec 11, 7:34 pm, Kenton Varda wrote: > Make s

Dataflow Protocol Buffers for .NET announcement

2008-12-12 Thread dataflow . software
Greetings, We are proud to announce the first release of the Dataflow Protocol Buffers .NET package. Dataflow Protocol Buffers includes: 1) A Protocol Buffers .NET library, which defines base classes, implements parsing and streaming routines. 2) Our own implementation of a Protocol Buffers to

Re: Peek into a serialized message

2008-12-12 Thread Kenton Varda
On Fri, Dec 12, 2008 at 1:20 AM, sorent wrote: > > > Sorry, there's not a reliable way to do this unless you depend the > encoder > > writing the tags in order, which is not guaranteed. > > Just to make sure I get this right ... (refering to the "Union Types" > example) if > I encode a buffer incl

Use of Protobuf as a Simple Database

2008-12-12 Thread Stephen Miller
First, let me apologize if this is not the forum to speak about design decisions. I'm program for a hobby, so I do not consider myself a guru with respect to making smart design choices. I'm starting a new project. This project is in C++ and will have lots of persistent data. It is not transacti

Re: Use of Protobuf as a Simple Database

2008-12-12 Thread Kenton Varda
All these questions are hard to answer definitively. It depends on the details of your use case. In many case there are many possible solutions and it's impossible to say which one is "best". One thing that probably matters a lot is the complexity of the queries you intend to execute on this "dat

Re: Use of Protobuf as a Simple Database

2008-12-12 Thread Alain M.
This topic is very interesting, and I have put a lot of thought in it. Let's share: I have noticed that in most of my applications, most of the columns in the database are just storage for later reports, nothing happens there. I gess this is what you call persistence. I was thinking of structu