Version française
Home     About     Download     Resources     Contact us    
Browse thread
native vs bytecode
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Alain Frisch <alain@f...>
Subject: Re: [Caml-list] native vs bytecode
Ben Aurel wrote:
> - is it possible to dynamically load bytecode libraries into a bytecode program?

Yes:
http://caml.inria.fr/pub/docs/manual-ocaml/manual041.html

> - is it possible to dynamically load native libraries into a native program?

This will be possible in the next release of OCaml (3.11). The API is 
the same as for bytecode (Dynlink module), although the model is a 
little bit different (specific linking phase to produce dynlinkable units).

> - is it possible to dynamically load bytecode libraries into a native program?
 > - is it possible to dynamically load native libraries into a bytecode 
program?

No.


-- Alain