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 mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by yquem.inria.fr (Postfix) with ESMTP id 6FE53BC57 for ; Wed, 12 May 2010 01:47:26 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjMDAJmJ6UtKfVK0mGdsb2JhbACeIwgXAgEICQwYIqo+ggCFGC6ITgEBAwWFDAQ X-IronPort-AV: E=Sophos;i="4.53,210,1272837600"; d="scan'208";a="51045198" Received: from mail-wy0-f180.google.com ([74.125.82.180]) by mail2-smtp-roc.national.inria.fr with ESMTP; 12 May 2010 01:47:26 +0200 Received: by wyb32 with SMTP id 32so1324019wyb.39 for ; Tue, 11 May 2010 16:47:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=I7e2mTD/bEySA5q//ZZsj5hYYE2TkdAYhl0dj0l3ElU=; b=XtZz6KDi20pxPhLZBxJmENN0gX6CHElos5pV26XuUhWVR7rvTiAeqGv25afZKCfRKx y9b1Zh8+NuGFwktVCX9vP1e5UjwI18E7J3HfQxAnszfgBgVboLgdexHmNE0zBTbwmJSv AaPNjUue9q89cr2PDFnXDeiuQTax+ya+sUtWE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=jjLEgKqByDnL+v1DsIZ9EiqptTvKiDc6yWALM28xWW/EqhjTEiNLxrs9kb/7sRzGWZ TLP08GFsVX05QwRt0x714uLwtqVlu/tGmnUN/KuLTzDzC5CvGxaKEq1yIWGiNSE5m5Sz wDCxfsHHZURF92+GBXltRrrzfihq2qOyuzCY8= MIME-Version: 1.0 Received: by 10.216.166.3 with SMTP id f3mr4012588wel.217.1273621645954; Tue, 11 May 2010 16:47:25 -0700 (PDT) Received: by 10.216.28.72 with HTTP; Tue, 11 May 2010 16:47:25 -0700 (PDT) In-Reply-To: <201005111239.30902.peng.zang@gmail.com> References: <07b101caf08b$3e5022c0$baf06840$@com> <201005111239.30902.peng.zang@gmail.com> Date: Wed, 12 May 2010 01:47:25 +0200 Message-ID: Subject: Re: [Caml-list] about OcamIL From: ben kuin To: peng.zang@gmail.com, caml-list@yquem.inria.fr Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam: no; 0.00; ocaml:01 ocamlc:01 bytecode:01 ocamlrun:01 interprets:01 bytecode:01 ocaml:01 hash:01 afaik:01 toplevel:01 toplevel:01 peng:98 peng:98 xga:98 wrote:01 > OCaml doesn't have a vm like the jvm. ocamlc compiles to bytecode ocamlrun interprets the bytecode bytecode interpreter =3D=3D vm hence ocaml has a vm On Tue, May 11, 2010 at 6:39 PM, Peng Zang wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > On Tuesday 11 May 2010 07:22:56 am ben kuin wrote: >> I think this 3 point are REASONABLE but the combination of those 3 >> items is INEXISTENT. >> >> Ocaml: the vm is not very fast (no jit AFAIK) >> >> >> So I guess the best thing would be to use good ol Ocaml in native mode..= .? >> > > What do you mean by vm? =A0OCaml doesn't have a vm like the jvm. =A0Altho= ugh > there's been some great work on compiling OCaml for the jvm. =A0OCaml doe= s have > a toplevel interpreter. =A0It even has a native mode toplevel now that's > suppose to be fast (anyone have any experience with this?). =A0So that's = good. > And of course as you pointed out you can always compile OCaml code to nat= ive > machine code which has always had good performance. > > Peng > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.7 (GNU/Linux) > > iD4DBQFL6YhCfIRcEFL/JewRAuB7AJ9tDRHgDJGt3+VqmX4u/IxU+vRXyQCWL3NX > SkKhph4GC7xGA85ilSspTw=3D=3D > =3DIxIG > -----END PGP SIGNATURE----- >