Version française
Home     About     Download     Resources     Contact us    
Browse thread
ocaml dll in an Erlang runtime
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Dmitry Bely <dmitry.bely@g...>
Subject: Re: [Caml-list] ocaml dll in an Erlang runtime
On 6/21/07, Jon Harrop <jon@ffconsultancy.com> wrote:

> I think a lot of people (myself included) would benefit enormously if you
> could explain in words of one syllable exactly how you can compile an OCaml
> program into a DLL (.so on Linux) and call it from C.

If COM interface is OK for you and your target platform is Windows,
the answer is simple: Camlidl. BTW, .Net framework supports COM
components almost natively, so you'll get F# <-> Ocaml interaction for
free :)

- Dmitry Bely