Non Sucking YAML parser

Phil Pennock phil.pennock at
Sun Sep 17 15:27:45 BST 2006

On 2006-09-13 at 13:49 +0200, Robin Berjon wrote:
> If that's a problem for you, you're better off shipping C structs  
> around than even using YAML or JSON. One of the advantages of XML is  
> that you could swap in a binary XML format, and (assuming the means  
> for detection, in the same way that libxml2 will automatically read  
> from a gzip'd document) it'll just work.

On this basis, you're better off going for ASN.1 specification;
completely language neutral, very mature, has XML bindings so that you
can use your ASN.1 schema for programming and use XML on the wire.

If you're running away screaming from that thought, only pausing to gag
violently into your neighbour's rose-bushes, then perhaps the same
argument is not valid for sticking to XML and relying upon other
mappings to magically make it efficient.  At least with ASN.1 you can
switch to binary representations which are efficient and seem fast.

If you've ever dealt with ASN.1 and disliked it, but have since dealt
with XML, now might be the time to look back with forgiveness.  Or not.

-Phil, only making a point

More information about the mailing list