Version française
Home     About     Download     Resources     Contact us    
Browse thread
ANN OCaml Batteries Included alpha 1
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Daniel_Bünzli <daniel.buenzli@e...>
Subject: Re: [Caml-list] Top-level with compiled libraries, Was: ANN OCaml Batteries Included

Le 12 oct. 08 à 11:20, Jan Kybic a écrit :

> Hello. On the subject of using toplevel: I would love to use toplevel
> to test my code but I need a lot of compiled libraries (written in C)
> - such as FFTW, Lacaml, etc. - and as far as I know, it is not
> possible to use compiled code from toplevel. Or am I wrong?

Yes. There's no problem using bindings to C from the toplevel.

> Ideally, I would like to have only the module I am working on in
> byte-code, playing with it interactively. All the other (stable)
> modules and all the libaries would be a compiled code and the
> byte-code and compiled code would seemlessly call each other. Is that
> feasible?

AFAIK this is not possible. You will have to use byte code for  
everything except your C code of course.

Daniel