Non Sucking YAML parser

Mark Overmeer mark at overmeer.net
Wed Sep 13 17:34:48 BST 2006


* David Cantrell (david at cantrell.org.uk) [060913 16:26]:
> On Wed, Sep 13, 2006 at 01:49:46PM +0200, Robin Berjon wrote:
> > On Sep 13, 2006, at 12:28, Dirk Koopman wrote:
> > >I suspect he has the same problems with xml as many of us:
> > >* the signal to noise ratio of xml is way too low.
> > If that's a problem for you, you're better off shipping C structs  
> > around than even using YAML or JSON.
> 
> I presume the OP was looking for something portable.  Using C structs
> isn't at all portable.  Different compilers on the same machine might
> pack the same struct differently.  And don't even think about trying to
> get data from one machine to another with different word lengths and
> endianness.

That's why the invented XDR... which is quite a lot of work but does
hide these problems from the C programmer.  Did that, but to what
cost in development time :-(
-- 
               MarkOv


More information about the london.pm mailing list