From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: * X-Spam-Status: No, score=1.4 required=5.0 tests=AWL,SPF_NEUTRAL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id C2C4BBC69 for ; Thu, 22 Feb 2007 20:59:18 +0100 (CET) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l1MJxIPg013898 for ; Thu, 22 Feb 2007 20:59:18 +0100 Received: by ug-out-1314.google.com with SMTP id k3so218432ugf for ; Thu, 22 Feb 2007 11:59:18 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TjsAktaiz6BkfLdiq2uYXV3BMMp80iPeUuT4lImkYJ8m1zx9pwkqGxweqM07EzsvR/VB+z32J3D0xAo+WvisAVgeSnRtTGpxpfGzhCw+KojwGpzr3X5hwWSMJm5rssfBXmKyn5g8EIwl/ViVC9BDA88iNWyvk6cyQjxgLB58haI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=pGTDBsYdlJC7bBVoCOUwOE1ejR6N6zM3oDYrkNNim47B0yQ69WrF8bihKyPAC9mp76WC1kdsGkCl3PzlsfgaEgXFBFqiQ7gmtH+h/jJRo8GWW36RTtoeJdhBXxWykjoU7vf7UUyil6nlFWH50dFLa4M38ZRt50LQaVhavHeFPhw= Received: by 10.78.149.13 with SMTP id w13mr89569hud.1172174357105; Thu, 22 Feb 2007 11:59:17 -0800 (PST) Received: by 10.78.16.5 with HTTP; Thu, 22 Feb 2007 11:59:16 -0800 (PST) Message-ID: Date: Thu, 22 Feb 2007 14:59:16 -0500 From: "Markus Mottl" To: "Joel Reymont" Subject: Re: [Caml-list] Instruction selection in the OCaml compiler: Modules or classes? Cc: caml-list@inria.fr In-Reply-To: <6CB0D237-F894-4AC3-BDBE-2BB484928D3C@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6CB0D237-F894-4AC3-BDBE-2BB484928D3C@gmail.com> X-j-chkmail-Score: MSGID : 45DDF616.000 on discorde : j-chkmail score : X : 0/20 1 0.000 -> 1 X-Miltered: at discorde with ID 45DDF616.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; markus:01 mottl:01 markus:01 mottl:01 ocaml:01 compiler:01 class-based:01 ocaml:01 wrote:01 slides:01 caml-list:01 modules:02 modules:02 mainstream:06 seem:07 On 2/22/07, Joel Reymont wrote: > The slides seem to favor the class-based solution but then I hear > that classes in OCaml are slow and people like Markus Mottl just > plain despise them :-). What does everyone else opine? Well, I think it needs to be said here that I don't "despise classes", which are still much better in OCaml than in any mainstream language, but I certainly prefer modules for almost all purposes (as most ML-programmers seem to), and this is not for speed reasons. Regards, Markus -- Markus Mottl http://www.ocaml.info markus.mottl@gmail.com