Browse thread
[Caml-list] best way to implement c/c++ FFI for ocaml ?
-
briand@a...
- Brandon J. Van Every
- Richard Jones
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ 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, 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. http://caml.inria.fr/ocaml/htmlman/manual032.html Rich. -- 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/