From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 9F561BC88 for ; Tue, 8 Feb 2005 11:25:14 +0100 (CET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j18APE5Y027027 for ; Tue, 8 Feb 2005 11:25:14 +0100 Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id LAA07990 for ; Tue, 8 Feb 2005 11:25:13 +0100 (MET) Received: from yquem.inria.fr (yquem.inria.fr [128.93.8.37]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j18APDIj021175; Tue, 8 Feb 2005 11:25:13 +0100 Received: by yquem.inria.fr (Postfix, from userid 18180) id 63480BC88; Tue, 8 Feb 2005 11:25:13 +0100 (CET) Date: Tue, 8 Feb 2005 11:25:13 +0100 From: Xavier Leroy To: skaller Cc: Christophe TROESTLER , "O'Caml Mailing List" Subject: Re: [Caml-list] [Benchmark] NBody Message-ID: <20050208102513.GB9033@yquem.inria.fr> References: <20050207.195724.87945401.Christophe.Troestler@umh.ac.be> <1107826151.13571.199.camel@pelican.wigram> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1107826151.13571.199.camel@pelican.wigram> User-Agent: Mutt/1.3.28i X-Miltered: at nez-perce with ID 4208938A.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at concorde with ID 42089389.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 mutable:01 mutable:01 ocaml:01 ocaml:01 minor:01 data:02 data:02 caml:02 caml:02 hacker:02 hacker:02 benchmark:02 fortran:03 float:03 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: > > type planet = { > > mutable x : float; mutable y : float; mutable z : float; > > mutable vx: float; mutable vy: float; mutable vz: float; > > mass : float; > > } > > Advice from old FORTRAN hacker: > > This is a bad data structure for Ocaml. Advice from an old Caml hacker: this is an excellent data structure for OCaml. Second advice from an old Caml hacker: don't trust John Skaller's technical advice too much. John often has preconceptions about what Caml is, or does, or "must" do (in his mind), which bear no connections with reality. That would be a minor annoyance except for the very authoritative, expert-like tone in which these preconceptions are assessed, which can mislead non-expert readers. - Xavier Leroy