On Tue, Jan 28, 2014 at 09:36:48PM +0000, Taylor R Campbell wrote: > I'm inclined to say we ought to use protocol buffers -- it supports > C-enforceable schemas, has been widely adopted in the world, and > satisfies more or less all your desiderata. Parts of the wire format > are a little wacky, but whatever. The only trouble is we'd have to > write a C-only implementation, but that shouldn't be too hard.
What do you mean by C-only? Even though Google's "standard" compiler generates C++ there is to-pure-C compiler [1]. If you are referring to the language used to implement the compiler then this is not an option as the compiler is implemented in C++. [1] https://code.google.com/p/protobuf-c/
