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 F3752BBAF for ; Wed, 19 May 2010 15:35:24 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtcDAKeF80tRZ90wkWdsb2JhbACeFRUBAQEBCQsKBxEDH71ShRAE X-IronPort-AV: E=Sophos;i="4.53,263,1272837600"; d="scan'208";a="51456015" Received: from mtaout02-winn.ispmail.ntl.com ([81.103.221.48]) by mail2-smtp-roc.national.inria.fr with ESMTP; 19 May 2010 15:35:24 +0200 Received: from aamtaout02-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout02-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20100519133524.GOIF10460.mtaout02-winn.ispmail.ntl.com@aamtaout02-winn.ispmail.ntl.com>; Wed, 19 May 2010 14:35:24 +0100 Received: from romulus.metastack.com ([81.102.132.77]) by aamtaout02-winn.ispmail.ntl.com (InterMail vG.2.02.00.01 201-2161-120-102-20060912) with ESMTP id <20100519133524.RWLV1586.aamtaout02-winn.ispmail.ntl.com@romulus.metastack.com>; Wed, 19 May 2010 14:35:24 +0100 Received: from Tenor ([172.16.0.8]) (authenticated bits=0) by romulus.metastack.com (8.14.2/8.14.2) with ESMTP id o4JDZKGj020578 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Wed, 19 May 2010 14:35:21 +0100 From: "David Allsopp" To: "'Eray Ozkural'" , "'Michael Ekstrand'" Cc: References: <088201caf1ce$b5060cb0$1f122610$@com> <20100512151137.26894ywcpv71ixvk@imp.ovh.net> <012601caf351$e9a362e0$bcea28a0$@com> <44A730DD-54EB-4A1C-BD1A-6E9EFB31B5A2@x9c.fr> <01f001caf536$c923b4c0$5b6b1e40$@com> <20100517095327.14271x0lnao43sao@imp.ovh.net> <002001caf6e8$b408ed90$1c1ac8b0$@com> <20100519094634.63006zi1h04x95z4@imp.ovh.net> In-Reply-To: Subject: RE: [Caml-list] Re: about OcamIL Date: Wed, 19 May 2010 14:35:18 +0100 Message-ID: <002d01caf758$1ff14a10$5fd3de30$@romulus.metastack.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQNpcw/VtNvSdeKZzBUev2v2qZsV8gGxlFTLAhe8eMUAvYi5fQDa1ISJAjo/eQ8Bqs+AtwIJCbnrAwLVFpMCVikslgFraBoXApF0RsM= Content-Language: en-gb Organization: MetaStack Solutions Ltd. X-Scanned-By: MIMEDefang 2.65 on 81.102.132.77 X-Cloudmark-Analysis: v=1.1 cv=W3tOLUehizD4qj6VhtReFuw5MKb8d+XqjIxlDsIazEA= c=1 sm=0 a=mI6YO6ZdSLUA:10 a=8sW17jYxVu0A:10 a=8nJEP1OIZ-IA:10 a=YHGAgOAGAAAA:8 a=1XWaLZrsAAAA:8 a=XFqhHgK-AAAA:8 a=GdmnwBuh0rIVXT3bldoA:9 a=PwBaBhWp3vjZcruEp60A:7 a=pkSA98a-aq81yDAwy7Nl1MTdp3EA:4 a=wPNLvfGTeEIA:10 a=hKnw-aFdzzgA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 X-Spam: no; 0.00; eray:01 ozkural:01 python's:01 hash:01 hash:01 ocaml:01 ocaml:01 ocamlopt:01 bytecode:01 javascript:98 javascript:98 wrote:01 wrote:01 pps:01 caml-list:01 Eray Ozkural wrote: > On Wed, May 19, 2010 at 2:29 PM, Michael Ekstrand = > wrote: > > > > Yes, Python's hash tables are particularly optimized due to their = wide > > pervasive usage. =A0When you're testing Python hash tables, you're > > really testing a carefully-written, thoroughly-tuned C = implementation > > of hash tables. > That being said, I think getting anything to run on JVM is a = remarkable > achievement! It would have been so cool to be able to run ocaml code > inside a web browser. :) There are unfortunately few alternatives for > running code inside a browser. There are two pretty viable alternatives for running OCaml code in a web browser - ocamljs[1] is a JavaScript backend for ocamlopt and = O'Browser[2] which is a JavaScript implementation of the OCaml bytecode interpreter = (or VM, as it's been called in this thread). David [1] http://code.google.com/p/ocamljs [2] http://www.pps.jussieu.fr/~canou/obrowser/tutorial