From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: * X-Spam-Status: No, score=1.0 required=5.0 tests=AWL,SPF_NEUTRAL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id D75E1BC6B for ; Fri, 22 Jun 2007 12:22:03 +0200 (CEST) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.236]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l5MAM25d018487 for ; Fri, 22 Jun 2007 12:22:03 +0200 Received: by nz-out-0506.google.com with SMTP id s18so789339nze for ; Fri, 22 Jun 2007 03:22:02 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=KNq7MZQNICqkEaj1APeRd/vpk7pPbDlk8n1ZOpSV3saAy3a+5VAZKSfDZcvck/Pm3aL1TsBK/bDHRJheiV0Vi66aGmjpvXkiaHYYHi9FPL9D23ob0Yw/Au3W4uBl3pO/9pcRs/XZU39wMeh4EsgCZJ6IpN+HLnKOkxVyma5MLto= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Lf39lX5eUuVNFaC30SPkRJvt1dCUY7VPwcen/hQ8j7jfN6bEUG1DYerdEE+r8lKVIvzpWS2Xdjqo6QTePJ9fzXVRfqIQgVOtn0O6M9HvFwW/j45FQdgmsccYdrUPim3ahquG547aSlz7IOYdEEE1CoTxrmpqdPlmpi25+54IRcw= Received: by 10.114.132.5 with SMTP id f5mr2839086wad.1182507722010; Fri, 22 Jun 2007 03:22:02 -0700 (PDT) Received: by 10.114.123.5 with HTTP; Fri, 22 Jun 2007 03:22:01 -0700 (PDT) Message-ID: <90823c940706220322y4c8d098epb85ae14a9bca198b@mail.gmail.com> Date: Fri, 22 Jun 2007 14:22:01 +0400 From: "Dmitry Bely" To: "Caml List" Subject: Re: [Caml-list] ocaml dll in an Erlang runtime In-Reply-To: <200706211300.24624.jon@ffconsultancy.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6616D98C65DD514BA2E1DDC5F92231550228B6EB@esealmw115.eemea.ericsson.se> <9f09a07a0706210315j1fc1f675yfdadf812c995da7f@mail.gmail.com> <200706211300.24624.jon@ffconsultancy.com> X-j-chkmail-Score: MSGID : 467BA2CB.000 on discorde : j-chkmail score : X : 0/20 1 0.000 -> 1 X-Miltered: at discorde with ID 467BA2CB.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; ocaml:01 erlang:01 runtime:01 ocaml:01 camlidl:01 wrote:01 compile:01 caml-list:01 dmitry:01 dmitry:01 natively:01 bely:01 bely:01 btw:02 interaction:02 On 6/21/07, Jon Harrop 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