Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: 2008-10-12 (12:53)
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.