From: Alessandro Baretta <a.baretta@studio.baretta.com>
To: David MENTRE <dmentre@linux-france.org>
Cc: caml-list@inria.fr, metaocaml-hackers-l@cs.rice.edu
Subject: Re: [Caml-list] Looking for pointers regarding integration of OCaml plugins into OCaml native code
Date: Mon, 06 Mar 2006 07:06:28 +0100 [thread overview]
Message-ID: <440BD164.8030201@studio.baretta.com> (raw)
In-Reply-To: <87ek1icotj.fsf@linux-france.org>
David MENTRE wrote:
> Hello,
>
> 2/ It could be possible to load native code into a native code
> application[1] but Xavier thinks this is no longer possible or too
> difficult[2]. I haven't be able to find the explanation Xavier is
> refering to. Has anybody a pointer to it? I would like to understand
> the issue(s).
Actually, MetaOcaml has most of the machinery needed to do this. I have recently
released to the MetaOcaml hackers list a patch which actually enables native
linking of ocamlopt generated code on Linux/x86. I have no clue as to the level
of support for any other operating system/architecture. I must add that,
although Natdynlink exists in MetaOcaml, it is definitely not a mature
implementation. I had to solve several issues myself before I could get my
AS/Xcaml to run any bit of a web application in native dynamic mode. Yet, after
all the bugfixing, I only have a proof-of-concept implementation, which is not
stable enough for production use. A lot more testing and feedback is needed the
by the MetaOcamlers to get this feature to work right.
And, by the way, MetaOcaml is really much more stable than its official "alpha"
status implies. As far as I seen while experimenting with building the AS/Xcaml,
is that Natdynlink needs more work. The rest seems fairly robust.
Alex
--
*********************************************************************
Ing. Alessandro Baretta
Studio Baretta
http://studio.baretta.com/
Consulenza Tecnologica e Ingegneria Industriale
Technological Consulting and Industrial Engineering
tel. +39 02 370 111 55
fax. +39 02 370 111 54
prev parent reply other threads:[~2006-03-06 6:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-04 13:38 David MENTRE
2006-03-04 14:01 ` [Caml-list] " Basile STARYNKEVITCH
2006-03-06 16:06 ` Walid Taha
2006-03-11 19:51 ` David MENTRE
2006-03-11 21:40 ` Nathaniel Gray
2006-03-06 6:06 ` Alessandro Baretta [this message]
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=440BD164.8030201@studio.baretta.com \
--to=a.baretta@studio.baretta.com \
--cc=caml-list@inria.fr \
--cc=dmentre@linux-france.org \
--cc=metaocaml-hackers-l@cs.rice.edu \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox