From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 40DA9BC32 for ; Tue, 15 Mar 2005 09:59:15 +0100 (CET) Received: from ptb-relay03.plus.net (ptb-relay03.plus.net [212.159.14.214]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j2F8xEXt001185 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 15 Mar 2005 09:59:15 +0100 Received: from [80.229.56.224] (helo=chetara) by ptb-relay03.plus.net with esmtp (Exim) id 1DB7tR-000I2I-SM for caml-list@yquem.inria.fr; Tue, 15 Mar 2005 08:59:13 +0000 From: Jon Harrop Organization: Flying Frog Consultancy Ltd. To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] OCaml troll on Slashdot Date: Tue, 15 Mar 2005 08:59:55 +0000 User-Agent: KMail/1.7.1 References: <42363A86.6010309@1969.ws> <20050315083243.GO321@first.in-berlin.de> <20050315084529.E562F1880C3@orchestra.cs.caltech.edu> In-Reply-To: <20050315084529.E562F1880C3@orchestra.cs.caltech.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200503150859.55997.jon@ffconsultancy.com> X-Miltered: at concorde with ID 4236A3E2.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 ocaml:01 vanier:01 ocamlopt:01 ocaml:01 ocamlopt:01 defines:01 prepend:01 ...:98 ...:98 frog:98 wrote:01 slower:01 functions:01 caml:02 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=none autolearn=disabled version=3.0.2 X-Spam-Level: On Tuesday 15 March 2005 08:45, Michael Vanier wrote: > Maybe he hasn't discovered ocamlopt yet. No, the OCaml code (compiled with ocamlopt) is much, much slower than the C++. As we all know, this can mean only one thing... Also, his C++ is actually shorter than the OCaml, and the OCaml defines a lot of familiar looking functions (map, length, "prepend" etc.). I'll take a more detailed look in a minute... -- Dr Jon D Harrop, Flying Frog Consultancy Ltd. Objective CAML for Scientists http://www.ffconsultancy.com/products/ocaml_for_scientists