RE: XML smaller?

Date view Thread view Subject view Author view

From: Gavin Thomas Nicol (
Date: Fri May 19 2000 - 13:34:40 PDT

> I like your previous suggestion of XDR as the efficient binary
> representation most closely analogous to XML (in its role in XML-RPC).
> How big is the code implementing XDR? (It includes something
> analogous to an IDL compiler, doesn't it?)

XDR itself is tiny. I've seen implementations for the atomic data
types that are a few hundred lines of code.

The IDL compiler is used for RPC. The RPC calls are encoded
in XDR as the on-the-wire format. If you take the approach
of XML-RPC, you do not need the IDL compiler.

> (All this is completely unconcerned with things like debuggability,
> discoverability, and conciseness of spec.)

When performance isn't critical, I think these are the deciding
factors and are why XML-RPC/SOAP will win in some situations.

Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Fri May 19 2000 - 13:58:53 PDT