I would say that it's "less elegant" to have to depend on yet another (big,
complex, still evolving) library just to read out system metrics.
>
> There are two problems:
>
> 1. Performance - it's slower to go through a library that outputs XML than
> do a printf("%d", pid) or the like.
Indeed.
>
> 2. Space - based on a little experience using XML as a transport, the space
> used by the tags adds up.
Yep.
>
> 3. Work - writing a good package to do this, and rewriting bits of the
> kernel to use it. I'll volunteer my time.
4. Stability - A good XML parsing library cannot be "simple" or "small". At
least not when written in C ;)
5. Lack of benefits - we already have structure because of the filesystem in
which the information would live. The actual "tags" could be so incredibly
simple that using XML would just be shooting birds with tactical nukes. E.g.
lots of fun, but a little expensive and not really necessary.
But maybe I'm just a pessimist and should stop bitching and start coding ;)
-- ................................................................ : jakob@unthought.net : And I see the elder races, : :.........................: putrid forms of man : : Jakob Østergaard : See him rise and claim the earth, : : OZ9ABN : his downfall is at hand. : :.........................:............{Konkhra}...............: - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/