>>> > What are the alternatives? My pick is ASN.1, any time.
Ha. I'm working on a UMTS base station (another, interesting tale
of hard real time in Plan 9) and we're using an ASN.1 compiler that
typically takes 30-bytes ASN.1 packed messages and decompresses
them into 5 megabyte (yes, MEGA byte) C structs. Amazing.
In the defense of ASN.1 I must say that this is not so much caused by
ASN.1 as by the incredible amount of configurational possibilities in
UMTS connections (almost none of which are or will be implemented
by anybody), and by the insistence of the comiler to code anything that
has a known maximum length by a static array of that length.
Sape