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
[Caml-list] best way to implement c/c++ FFI for ocaml ?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-09-10 (08:54)
From: Richard Jones <rich@a...>
Subject: Re: [Caml-list] best way to implement c/c++ FFI for ocaml ?
On Thu, Sep 09, 2004 at 09:41:33PM -0700, briand@aracnet.com wrote:
> I was wondering if someone could give me some advice on the best way
> to approach writing ffi's to c or c++ code in ocaml.
> I looked at the camlidl, but I can't tell if it's more specifically
> for windows.
> Is the swig implementation for ocaml in useful shape ?
> Any other comments or advice ?

Writing the interface by hand is simple enough.  Depends, of course,
on the platform you are using and the nature and extent of the C or
C++ library you want to interface with.



Richard Jones. http://www.annexia.org/ http://www.j-london.com/
Merjis Ltd. http://www.merjis.com/ - improving website return on investment
MOD_CAML lets you run type-safe Objective CAML programs inside the Apache
webserver. http://www.merjis.com/developers/mod_caml/