From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 3E768BCAF for ; Fri, 17 Jun 2005 11:51:09 +0200 (CEST) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.197]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j5H9p8BB014507 for ; Fri, 17 Jun 2005 11:51:08 +0200 Received: by rproxy.gmail.com with SMTP id a36so280826rnf for ; Fri, 17 Jun 2005 02:51:08 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=U6lawKfAAHUM8GifVXK2yS6RUueeq+Gtu/ZNL0UgnuhGeioEsOxD+VVlN/27tsABnLzntBTacZ9mDFlChTyPRsCZsRIYlCUsKaRkxBx7xGjeACtDuX1hQVMlYXM/WC+nT4Z+JFXcnKstxjx2lkm1GBRcEcNc2dNLmSnwB1kY/7s= Received: by 10.38.88.69 with SMTP id l69mr19140rnb; Fri, 17 Jun 2005 02:51:08 -0700 (PDT) Received: by 10.38.209.44 with HTTP; Fri, 17 Jun 2005 02:51:07 -0700 (PDT) Message-ID: Date: Fri, 17 Jun 2005 21:51:07 +1200 From: Jonathan Roewen Reply-To: Jonathan Roewen To: Alex Baretta Subject: Re: [Caml-list] Running bytecode... Cc: caml-list@yquem.inria.fr In-Reply-To: <42B29C33.1010302@barettadeit.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <42B29C33.1010302@barettadeit.com> X-Miltered: at nez-perce with ID 42B29D0C.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 bytecode:01 ocaml:01 byte-code:01 dynlink:01 dynlink:01 bytecode:01 ocaml:01 ...:98 possibile:98 short:01 native:02 native:02 vanilla:03 desirable:03 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on yquem.inria.fr X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_BY_IP autolearn=disabled version=3.0.2 X-Spam-Level: > The short answer is you can't. It's a pity, but to the present day the > vanilla Ocaml distribution does not support mixing native and byte-code. > Also, it is not possibile to Dynlink native code, which is even more of > a pity. Well, dynlink with native code probably isn't desirable, as can't really verify it. How about embedding the bytecode interpreter in an ocaml native program? How would one go about that?