This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] a last comment on xml-rpc

To: Anthony Liguori <aliguori@xxxxxxxxxx>
Subject: Re: [Xen-devel] a last comment on xml-rpc
From: Daniel Veillard <veillard@xxxxxxxxxx>
Date: Sat, 11 Feb 2006 03:21:02 -0500
Cc: Matt Sottile <matt@xxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Ronald G Minnich <rminnich@xxxxxxxx>
Delivery-date: Sat, 11 Feb 2006 08:32:35 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <43ED23F7.7040300@xxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <43ED1615.7030209@xxxxxxxx> <43ED23F7.7040300@xxxxxxxxxx>
Reply-to: veillard@xxxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.1i
On Fri, Feb 10, 2006 at 05:38:31PM -0600, Anthony Liguori wrote:
> I've also written an XML-RPC interface to Xend in C using libxml2.  It 
> very little code and just works.  Granted, parsing XML is more painful 
> that parsing S-Expressions but there are so many libraries for so many 
> languages that XML parsing is really a nop.

  Did you push that code anywhere ;-) ?
I can think of 2 very different ways to do the implementation (tree + paths
or direct SAX2 event flow) and would probably end up doing the second one
though the code might be more complex. It might depends on the efficiency of
the Python side, it may not be worth shaving microseconds and kilobytes
on the C side if the Python side is one order of magnitude slower, in which
case the simplest C code would be best.


Daniel Veillard      | Red Hat http://redhat.com/
veillard@xxxxxxxxxx  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/

Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>