From: Nix <nix@esperi.org.uk>
To: jonathan@jonmasters.org
Cc: Ahmad Reza Cheraghi <a_r_cheraghi@yahoo.com>,
linux-kernel@vger.kernel.org
Subject: Re: Why no XML in the Kernel?
Date: Mon, 03 Oct 2005 16:08:43 +0100 [thread overview]
Message-ID: <87oe66r62s.fsf@amaterasu.srvr.nix> (raw)
In-Reply-To: <35fb2e590510021153r254b7eb0haf9f9e365bed051e@mail.gmail.com> (Jon Masters's message of "2 Oct 2005 19:53:50 +0100")
On 2 Oct 2005, Jon Masters suggested tentatively:
> Besides, having a *fully* XML parser/generator in the kernel is
> extremely braindead, even if it's called libkernelxml ("I'm not really
> quite in the kernel really") or something. What's so wrong with really
> simple files being exposed to userspace? Most of these are less than a
> single page of data and it's just dandy like that.
I beat off a suggestion last week[1] that the kernel should `not bother
with any of this /proc and /sys stuff' but just export a single vast
heap of XML, because XML is `properly structured'.
(As opposed to, oh, a filesystem, which is apparently not structured
enough.)
Considerations of ugliness and difficulty of implementing the equivalent
of writes to procs files did not shift the twit: but starting top on a
busy system and showing said twit the CPU load spikes as /proc/[0-9]*
got iterated over, and asking `how severe would this be if *all* of
/proc and /sys had to be generated for every single request?' seems to
have imparted enough clue.
I have a large notice by my desk at work reading simply `XML is not a
panacea'. It's amazing how few people wandering by read it.
[1] by someone who couldn't have implemented it in a month of Sundays,
thankfully
--
`Next: FEMA neglects to take into account the possibility of
fire in Old Balsawood Town (currently in its fifth year of drought
and home of the General Grant Home for Compulsive Arsonists).'
--- James Nicoll
next prev parent reply other threads:[~2005-10-03 15:08 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-02 9:41 Why no XML in the Kernel? Ahmad Reza Cheraghi
2005-10-02 9:50 ` Nick Piggin
2005-10-02 11:02 ` James Courtier-Dutton
2005-10-02 10:37 ` Nick Piggin
2005-10-02 11:57 ` Bas Westerbaan
2005-10-02 11:09 ` James Bruce
2005-10-02 13:47 ` Willy Tarreau
2005-10-03 19:21 ` Bill Davidsen
2005-10-02 18:53 ` Jon Masters
2005-10-03 15:08 ` Nix [this message]
2005-10-03 15:35 ` Al Viro
2005-10-03 19:47 ` Nix
2005-10-03 19:56 ` linux-os (Dick Johnson)
2005-10-05 21:11 ` Dave Airlie
2005-10-05 21:31 ` Nix
2005-10-05 22:57 ` Dave Airlie
2005-10-05 23:07 ` Nix
2005-10-05 23:36 ` Dave Airlie
2005-10-05 22:22 ` jmerkey
2005-10-05 23:46 ` Dave Airlie
2005-10-07 22:14 ` Matan Ziv-Av
2005-10-02 21:55 ` Martin J. Bligh
2005-10-03 4:45 ` Nick Piggin
-- strict thread matches above, loose matches on Subject: below --
2005-10-08 1:34 Luke Kenneth Casson Leighton
2005-10-09 15:38 ` Horst von Brand
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87oe66r62s.fsf@amaterasu.srvr.nix \
--to=nix@esperi.org.uk \
--cc=a_r_cheraghi@yahoo.com \
--cc=jonathan@jonmasters.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.