On Sat, Jul 16, 2011 at 12:58 AM, Marc Gravell <[email protected]>wrote:
> From my perspective as a fellow user, the spec is very stable in terms of > breaking changes. The last notable wire change I can think of is packed > arrays, which would: > A: only apply on an opt-in basis > B: continue to be round-trip safe (via extension fields) for clients that > didn't expect it. > > I would expect that any future changes would need a very good reason to > introduce a fundamental new encoding approach (although IIRC there is a > remaining wire-type unused :p ) > IIRC there's 2 remaining unused, 0x06 and 0x07. I've used up both though :x > > > > Marc > > On 15 Jul 2011, at 16:19, jl <[email protected]> wrote: > > > We are wondering if the serialized data format used by Protocol > > Buffers is standardized or in some way set in stone? In other words, > > should we have any expectation that it will change in the future and > > we won't be able to read the serialized data back into a Message > > class? > > > > For example, we receive protobuf messages and archive them to disk in > > their serialized format using > > google::protobuf::Message::SerializeToFileDescriptor() or > > SerializeToOstream() and later, maybe 5 years from now using a newer > > version of Protocol Buffers, try to read them back using > > google::protobuf::Message::ParseFromFileDescriptor() or > > ParseFromIstream(). Can I expect this to work? > > > > I could not find any mention about this on the Protobuf website or by > > Googling, but perhaps I missed it. Any links to any official > > documentation saying either yes or no would be greatly appreciated. > > > > Thanks and regards, > > John > > > > -- > > You received this message because you are subscribed to the Google Groups > "Protocol Buffers" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > [email protected]. > > For more options, visit this group at > http://groups.google.com/group/protobuf?hl=en. > > > > -- > You received this message because you are subscribed to the Google Groups > "Protocol Buffers" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/protobuf?hl=en. > > -- When the cat is away, the mouse is alone. - David Yu -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.
