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 mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id D69E7BC57 for ; Tue, 11 May 2010 18:39:37 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AiwEAFEl6UvRVdS0kGdsb2JhbACRZIw7CBUBAQEBCQkMBxEDH6xhCoF2hS0uiE4BAQMFhQsEjHk X-IronPort-AV: E=Sophos;i="4.53,209,1272837600"; d="scan'208";a="62701860" Received: from mail-px0-f180.google.com ([209.85.212.180]) by mail4-smtp-sop.national.inria.fr with ESMTP; 11 May 2010 18:39:37 +0200 Received: by pxi17 with SMTP id 17so2143305pxi.39 for ; Tue, 11 May 2010 09:39:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:reply-to:to:subject:date :user-agent:cc:references:in-reply-to:content-type :content-transfer-encoding:content-disposition:message-id; bh=udTSCgLQjxfTJesVT2bTYnCSdcDtV2evsrCzGImWmDk=; b=LnpS/jz+ZONdUPKhgY9sn/1fA9HfGT2twHbM4POZJYtuTCeG0JLWy8QLRbPAh5qaX5 INq3J97pkii0PJGsVmTM9rxEynziC2z8QxCU7PnU5/pdk7s0IXm903UHsN9HihVe5wDt Orn/T6vZJzpu1pj0gYN3O9v0KDn2asz2KODyM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:reply-to:to:subject:date:user-agent:cc:references:in-reply-to :content-type:content-transfer-encoding:content-disposition :message-id; b=MB9B6WISa5H9NBRABsnW5/PNZT3txRET2veaYBwsu8JjVrSi2eqLPqAL1d5qTIgaFf 0tXQjMwnG/3HLFFm/KYDiXIaUQ4b5hnDx4p0588Zvckudzee9sJL9lnM1TqRe9K72Q3P id9gcGGwDxZCqbpUvBICUMaQ82fioym/xtm2E= Received: by 10.114.10.19 with SMTP id 19mr4685504waj.75.1273595975594; Tue, 11 May 2010 09:39:35 -0700 (PDT) Received: from [10.0.2.10] ([209.226.25.124]) by mx.google.com with ESMTPS id r20sm36457271wam.17.2010.05.11.09.39.33 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 11 May 2010 09:39:33 -0700 (PDT) From: Peng Zang Reply-To: peng.zang@gmail.com To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] about OcamIL Date: Tue, 11 May 2010 12:39:28 -0400 User-Agent: KMail/1.9.10 Cc: ben kuin References: <07b101caf08b$3e5022c0$baf06840$@com> In-Reply-To: Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201005111239.30902.peng.zang@gmail.com> X-Spam: no; 0.00; hash:01 ocaml:01 afaik:01 ocaml:01 toplevel:01 toplevel:01 peng:98 peng:98 xga:98 wrote:01 compile:01 caml-list:01 compiling:02 native:03 native:03 -----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? OCaml doesn't have a vm like the jvm. Although there's been some great work on compiling OCaml for the jvm. OCaml does have a toplevel interpreter. It even has a native mode toplevel now that's suppose to be fast (anyone have any experience with this?). So that's good. And of course as you pointed out you can always compile OCaml code to native 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== =IxIG -----END PGP SIGNATURE-----