tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: The lamentation of proplib(3)



   Date: Tue, 28 Jan 2014 23:22:16 +0100
   From: Matthias Kretschmer <mccratch%gmx.net@localhost>

   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/

When I took a glance at that it looked a little heavyweight, and I'm
not sure a C++ tool (in the `build.sh tools' sense) is appropriate.
But I only took a glance at it -- perhaps it would work out after all.


Home | Main Index | Thread Index | Old Index