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 (09:20)
From: Jan Kybic <kybic@f...>
Subject: Top-level with compiled libraries, Was: ANN OCaml Batteries Included
> This is quite important to me.  I don't know what the general sentiment of the 
> community is, but the toplevel is one of the major reasons I use OCaml.  In 
> fact, for every Makefile I write, I write an equivalent toplevel init file.  

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? Also, some
of my code is quite computationally intensive, so in byte-code it runs
too slowly.

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



Jan Kybic <>                       tel. +420 2 2435 5721                      ICQ 200569450