From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 9C9FDBB81 for ; Sat, 11 Mar 2006 20:51:14 +0100 (CET) Received: from smtp10.wanadoo.fr (smtp10.wanadoo.fr [193.252.22.21]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id k2BJpEIR018392 for ; Sat, 11 Mar 2006 20:51:14 +0100 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf1002.wanadoo.fr (SMTP Server) with ESMTP id 3DE1724000A7 for ; Sat, 11 Mar 2006 20:51:14 +0100 (CET) Received: from morgana (ARennes-257-1-19-201.w81-53.abo.wanadoo.fr [81.53.2.201]) by mwinf1002.wanadoo.fr (SMTP Server) with ESMTP id 122F524000A0; Sat, 11 Mar 2006 20:51:14 +0100 (CET) X-ME-UUID: 20060311195114745.122F524000A0@mwinf1002.wanadoo.fr Received: from david by morgana with local (Exim 4.50) id 1FIA7z-0001Gd-VV; Sat, 11 Mar 2006 20:51:51 +0100 To: Basile STARYNKEVITCH Cc: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Looking for pointers regarding integration of OCaml plugins into OCaml native code References: <87ek1icotj.fsf@linux-france.org> <20060304140137.GA16267@ours.starynkevitch.net> From: David MENTRE Organization: none Date: Sat, 11 Mar 2006 20:51:51 +0100 In-Reply-To: <20060304140137.GA16267@ours.starynkevitch.net> (Basile STARYNKEVITCH's message of "Sat, 4 Mar 2006 15:01:37 +0100") Message-ID: <87lkvgbvzc.fsf@linux-france.org> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Miltered: at concorde with ID 44132A32.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; pointers:01 ocaml:01 ocaml:01 basile:01 basile:01 bytecode:01 compiler:01 caml-list:01 writes:01 dynamically:01 native:02 native:02 python:02 extend:07 i'm:08 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.3 Hello Basile, Basile STARYNKEVITCH writes: > Maybe the easiest way is to stay within the bytecode... Do you really > need the performance of native code? You might also try with > ocamljitrun (but I admit that I don't have much time maintaining it). Yes, ocamljitrun offers in interesting fourth alternative. In fact, I don't really need right now this facility. But I'm a bit frustrated, when writing a program in OCaml using native code compiler, to be unable to extend it with dynamically loadable OCaml code. It is easier to write plugins for an OCaml program in Python, Perl or Lua than in OCaml. :-) Best wishes, d. -- pub 1024D/A3AD7A2A 2004-10-03 David MENTRE 5996 CC46 4612 9CA4 3562 D7AC 6C67 9E96 A3AD 7A2A