Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: "Daniel Bünzli" <daniel.buenzli@erratique.ch>
To: OCaml List <caml-list@yquem.inria.fr>
Subject: Re: [Caml-list] Top-level with compiled libraries, Was:  ANN OCaml Batteries Included
Date: Sun, 12 Oct 2008 14:53:30 +0200	[thread overview]
Message-ID: <AA716B89-7445-4756-BD88-8861FF6C7875@erratique.ch> (raw)
In-Reply-To: <878wsuw4o8.fsf_-_@fel.cvut.cz>


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


  reply	other threads:[~2008-10-12 12:53 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-11 13:48 ANN OCaml Batteries Included alpha 1 David Teller
2008-10-11 21:27 ` [Caml-list] " Andrej Bauer
2008-10-11 22:35   ` David Teller
2008-10-12  5:42 ` Peng Zang
2008-10-12  9:20   ` Top-level with compiled libraries, Was: ANN OCaml Batteries Included Jan Kybic
2008-10-12 12:53     ` Daniel Bünzli [this message]
2008-10-13 10:26       ` [Caml-list] " Daniel Bünzli
2008-10-12 15:19     ` Markus Mottl
2008-10-12 15:19     ` Peng Zang
2008-10-12 13:59   ` [Caml-list] ANN OCaml Batteries Included alpha 1 David Teller
2008-10-12 17:00     ` Peng Zang
2008-10-12 18:43       ` David Teller
2008-10-12 18:55         ` Peng Zang
2008-10-13  9:07 ` Stefano Zacchiroli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AA716B89-7445-4756-BD88-8861FF6C7875@erratique.ch \
    --to=daniel.buenzli@erratique.ch \
    --cc=caml-list@yquem.inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox