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 concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 22A96BB81 for ; Sun, 9 Oct 2005 15:59:29 +0200 (CEST) Received: from mail.physik.uni-muenchen.de (mail.physik.uni-muenchen.de [192.54.42.129]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j99DxSaC008640 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Sun, 9 Oct 2005 15:59:28 +0200 Received: from localhost (unknown [127.0.0.1]) by mail.physik.uni-muenchen.de (Postfix) with ESMTP id 20A7B20005; Sun, 9 Oct 2005 15:59:28 +0200 (CEST) Received: from mail.physik.uni-muenchen.de ([127.0.0.1]) by localhost (mail.physik.uni-muenchen.de [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 19319-01-9; Sun, 9 Oct 2005 15:59:28 +0200 (CEST) Received: from mailhost.cip.physik.uni-muenchen.de (kaiser.cip.physik.uni-muenchen.de [141.84.136.1]) by mail.physik.uni-muenchen.de (Postfix) with ESMTP id 0754020004; Sun, 9 Oct 2005 15:59:28 +0200 (CEST) Received: from eiger.cip.physik.uni-muenchen.de (eiger.cip.physik.uni-muenchen.de [141.84.136.54]) by mailhost.cip.physik.uni-muenchen.de (Postfix) with ESMTP id 41BCE26F4D; Sun, 9 Oct 2005 15:59:27 +0200 (CEST) Received: by eiger.cip.physik.uni-muenchen.de (Postfix, from userid 3092) id 5E79012F75; Sun, 9 Oct 2005 15:59:27 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by eiger.cip.physik.uni-muenchen.de (Postfix) with ESMTP id 5935212F17; Sun, 9 Oct 2005 15:59:27 +0200 (CEST) Date: Sun, 9 Oct 2005 15:59:27 +0200 (CEST) From: Thomas Fischbacher To: Yaron Minsky Cc: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Ray tracer language comparison In-Reply-To: <891bd3390510090424g4a88053eg5a890e83ed701d4b@mail.gmail.com> Message-ID: References: <200510040018.24932.jon@ffconsultancy.com> <891bd3390510090424g4a88053eg5a890e83ed701d4b@mail.gmail.com> X-BOFH: Daemons did it MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: amavisd-new at physik.uni-muenchen.de X-Miltered: at concorde with ID 43492240.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.01; caml-list:01 yaron:01 minsky:01 ocaml:01 2005,:98 ....:98 ...:98 ...:98 genius:98 cip:98 cip:98 lambda:01 lambda:01 wrote:01 slower:01 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=SPF_FAIL autolearn=disabled version=3.0.3 On Sun, 9 Oct 2005, Yaron Minsky wrote: > It seems like on the whole a more fitting riposte might have been to > provide a version of the SBCL implementation that was 8x faster than > Jon's, rather than to provide a crippled version of Jon's that was 8x > slower. But to each his own, I suppose.... What? You call that elegant use of higher order functions "crippled"? What a Blasphemy. I am really, truly outraged. ...on the other hand... [wicked thinking] [most evil sniggering] [pictures of the great evil genius playing the organ] [more of all the above] [ *clickediclick* ] Bring that man to be, he shalt be served as well! I just extended my analysis by another implementation in yet another language. This time, it's "Steel Bank Common Lisp". As this is a Lisp as well, I will be concerned primarily with comparing it against SBCL, but it may also be nice to compare it with OCaml, or Objective Caml. There it is: http://www.cip.physik.uni-muenchen.de/~tf/raytracer/#sbcl -- regards, tf@cip.physik.uni-muenchen.de (o_ Thomas Fischbacher - http://www.cip.physik.uni-muenchen.de/~tf //\ (lambda (n) ((lambda (p q r) (p p q r)) (lambda (g x y) V_/_ (if (= x 0) y (g g (- x 1) (* x y)))) n 1)) (Debian GNU)