caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Contrib: dynlink for native code executables to load .cmo files
@ 1998-11-02 14:42 Fabrice Le Fessant
  0 siblings, 0 replies; only message in thread
From: Fabrice Le Fessant @ 1998-11-02 14:42 UTC (permalink / raw)
  To: caml-list


  I have written a small interpretor of Ocaml-2.00 bytecode in Ocaml.
The main interest of this program is that it allows native code
programs to load and execute .cmo files. This library uses the same
interface as the Dynlink library of the Ocaml distribution.
Dynamically linked modules are able to use the functions defined both
in native code modules and previously linked bytecode modules, and
even C primitives if they have been correctly declared to the dynamic
linker. If bytecode functions are stored in some native code data
structures, the native code can then also use them as if they were
native code functions.

  This is still a Beta version (some bytecodes have not been
implemented (GETMETHOD, and float arrays)). Pure bytecode computations
are about ten times slower than when they are executed by ocamlrun. 

  http://pauillac.inria.fr/src


Comments and bugs: 
=================
Fabrice Le Fessant (Email : Fabrice.Le_fessant@inria.fr )
PARA project
INRIA Rocquencourt
FRANCE




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-11-03 15:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-11-02 14:42 Contrib: dynlink for native code executables to load .cmo files Fabrice Le Fessant

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).