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 nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 1A6A2BB81 for ; Mon, 6 Mar 2006 17:06:28 +0100 (CET) Received: from mail.cs.rice.edu (mail.cs.rice.edu [128.42.1.31]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id k26G6RIf005567 for ; Mon, 6 Mar 2006 17:06:27 +0100 Received: from mail.cs.rice.edu (localhost.localdomain [127.0.0.1]) by mail.cs.rice.edu (Postfix) with ESMTP id DE4E62C2A81; Mon, 6 Mar 2006 10:06:26 -0600 (CST) Received: from mail.cs.rice.edu ([127.0.0.1]) by mail.cs.rice.edu (mail.cs.rice.edu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 06915-01-80; Mon, 6 Mar 2006 10:06:26 -0600 (CST) Received: from Arwen.houston.rr.com (cpe-24-160-119-220.houston.res.rr.com [24.160.119.220]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.cs.rice.edu (Postfix) with ESMTP id 43A872C2A88; Mon, 6 Mar 2006 10:06:26 -0600 (CST) Date: Mon, 6 Mar 2006 10:06:09 -0600 From: Walid Taha X-X-Sender: taha@Arwen To: Basile STARYNKEVITCH Cc: David MENTRE , caml-list@yquem.inria.fr, metaocaml-hackers@cs.rice.edu Subject: Re: [Caml-list] Looking for pointers regarding integration of OCaml plugins into OCaml native code In-Reply-To: <20060304140137.GA16267@ours.starynkevitch.net> Message-ID: References: <87ek1icotj.fsf@linux-france.org> <20060304140137.GA16267@ours.starynkevitch.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavis-2.2.1 at mail.cs.rice.edu X-Miltered: at nez-perce with ID 440C5E03.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; walid:01 taha:01 taha:01 pointers:01 ocaml:01 ocaml:01 basile:01 metaocaml:01 bytecode:01 compiler:01 walid:01 basile:01 bytecode:01 wrote:01 caml-list:01 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 This would be a very interesting approach to explore. Basile presented pretty convincing numbers on ocamljit a couple of years ago. Another advantage of this approach is that if you also want to compile at run time (with MetaOCaml), the bytecode compiler is much faster to compile than the native code one. Walid. On Sat, 4 Mar 2006, Basile STARYNKEVITCH wrote: |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).