English version
Accueil     Ŕ propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis ŕ jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml ŕ l'adresse ocaml.org.

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 (15:19)
From: Markus Mottl <markus.mottl@g...>
Subject: Re: [Caml-list] Top-level with compiled libraries, Was: ANN OCaml Batteries Included
On Sun, Oct 12, 2008 at 5:20 AM, Jan Kybic <kybic@fel.cvut.cz> wrote:
> 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.

It is certainly possible to use Lacaml (and presumably also FFTW) in
toplevels.  There shouldn't be any noticable performance penalty,
since almost all of the computation time is spent in external
libraries written in Fortran or C.


Markus Mottl        http://www.ocaml.info        markus.mottl@gmail.com