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 EFACABB9A for ; Fri, 21 Oct 2005 13:27:31 +0200 (CEST) Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.202]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j9LBRVpM014884 for ; Fri, 21 Oct 2005 13:27:31 +0200 Received: by nproxy.gmail.com with SMTP id n28so81149nfc for ; Fri, 21 Oct 2005 04:27:31 -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=isf2MCtA/BLF+/OncYehaWdZ6X9YedV2vIhOnTr/siln7VcT2y3gwlCVey7V6p1kDv+T+JzJfALwjlVc4beykvOdOPFpJq+G55g9PVbFh8Gg/Vbdv9SGbg9eEhSzBjE6MlbKpc3GboxWKhEwUcmh6+b6g4IHYhIbMOGkJ6DInl8= Received: by 10.48.80.4 with SMTP id d4mr196862nfb; Fri, 21 Oct 2005 04:27:31 -0700 (PDT) Received: by 10.48.42.9 with HTTP; Fri, 21 Oct 2005 04:27:31 -0700 (PDT) Message-ID: <3d13dcfc0510210427g5ea98df7s@mail.gmail.com> Date: Fri, 21 Oct 2005 13:27:31 +0200 From: David MENTRE Reply-To: To: Jonathan Roewen Subject: Re: [Caml-list] The Bytecode Interpreter... Cc: caml-list@yquem.inria.fr In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Miltered: at nez-perce with ID 4358D0A3.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 bytecode:01 toplevel:01 bytecode:01 toplevel:01 ocaml:01 byterun:01 ocaml:01 ...:98 expression:01 compiled:04 interpreter:06 interpreter:06 written:06 2005:91 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: * X-Spam-Status: No, score=1.4 required=5.0 tests=RCVD_BY_IP,REPLY_TO_EMPTY autolearn=disabled version=3.0.3 Hello, 2005/10/21, Jonathan Roewen : > How does the toplevel differ from the bytecode interpreter? No difference. Toplevel expression are compiled as bytecode and then executed by bytecode interpreter. > Am I right that bytecode just runs in a VM? Yes. > Also, is the VM written in OCaml itself? No, in C (see directory byterun/ in ocaml source code). Yours, d.