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
[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: -- (:)
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, 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.
Merjis Ltd. - improving website return on investment
MOD_CAML lets you run type-safe Objective CAML programs inside the Apache