From: "Marc - A. Dahlhaus" <mad@wol.de>
To: Ian Campbell <Ian.Campbell@citrix.com>
Cc: Xen Devel <xen-devel@lists.xensource.com>,
Vincent Hanquez <vincent.hanquez@eu.citrix.com>
Subject: Re: [PATCH] add xl ocaml bindings
Date: Mon, 28 Jun 2010 15:42:41 +0200 [thread overview]
Message-ID: <1277732561.27909.15.camel@marc> (raw)
In-Reply-To: <1277719149.25867.311.camel@zakaz.uk.xensource.com>
Hello Ian,
Am Montag, den 28.06.2010, 10:59 +0100 schrieb Ian Campbell:
> Not really a comment on this patch as such but more a related thought...
> How many language bindings do we think there are going to be and how
> much effort do we expect it would be keeping them all (or even just the
> interesting subset) up to date?
>
> Is it worth investing the time up front to define a (simple) IDL and to
> generate the C header and language bindings from that?
>
> Are there any existing IDLs which would meet our needs?
>
> Another thought is that an IDL would partially isolate people changing
> the libxl interface from needing to know enough about each language to
> fixup the bindings (or else they may break the build). At least in the
> normal case where the change does not require a change to the IDL then a
> simple regeneration should be enough to update the bindings for the
> change.
>
> On the other hand sometimes maintaining the auto code generator can be
> more work than just maintaining bindings by hand...
>
> Ian.
maybe http://www.swig.org/ might help in this case.
It supports ocaml, python and also many more targets (like perl which i
would love to get :) )...
According to http://www.swig.org/tutorial.html it looks like it could
save the effort of maintaining the bindings one by one in parallel...
Marc
next prev parent reply other threads:[~2010-06-28 13:42 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-28 6:47 [PATCH] add xl ocaml bindings Vincent Hanquez
2010-06-28 9:59 ` Ian Campbell
2010-06-28 11:30 ` Vincent Hanquez
2010-06-28 21:58 ` Zhigang Wang
2010-06-28 14:16 ` Stefano Stabellini
2010-06-28 13:42 ` Marc - A. Dahlhaus [this message]
2010-06-28 15:52 ` [PATCH] add xl ocaml bindings [and 1 more messages] Ian Jackson
2010-06-28 16:39 ` [PATCH] add xl ocaml bindings Ian Jackson
2010-06-28 16:49 ` [PATCH] missing makefile for libxl Vincent Hanquez
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=1277732561.27909.15.camel@marc \
--to=mad@wol.de \
--cc=Ian.Campbell@citrix.com \
--cc=vincent.hanquez@eu.citrix.com \
--cc=xen-devel@lists.xensource.com \
/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.