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=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 34CC4BC69 for ; Thu, 22 Feb 2007 15:38:14 +0100 (CET) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l1MEcDIE027892 for ; Thu, 22 Feb 2007 15:38:14 +0100 Received: by ug-out-1314.google.com with SMTP id k3so132298ugf for ; Thu, 22 Feb 2007 06:38:13 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:mime-version:content-transfer-encoding:message-id:content-type:to:from:subject:date:x-mailer; b=WB9GhS+zI47JO/jjcRV0z2zmaVk3gnneA48ppiUuntwC91pXEZCacTgiUCYIlkyzrwCqx7r7S8CGtJat5UR/p1mDNrC7Zkuf2nAcuh6QsZlToWY2dGirbusO1yw7/rYhLma3akjV0Zin24vRPKIXDEhfnhc1u6QPwi7A9qsESHg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:mime-version:content-transfer-encoding:message-id:content-type:to:from:subject:date:x-mailer; b=XgMuJSdt9CzdXSHcucXnUsOqM0rTdzRYQTc7uaPOLBOAcpo0tn4EOC42YMpV9YxYWWzVveQQVST37CuwKYS8WV/K/pEHteAA6J2nlWDALbOjFo/z9Oho+U0sZjju9oDIWIFByhi2zW/7sNc7nep6Z0jTvYz3L23eXhINWfyGOXw= Received: by 10.66.244.10 with SMTP id r10mr655861ugh.1172155093624; Thu, 22 Feb 2007 06:38:13 -0800 (PST) Received: from ?192.168.1.33? ( [83.53.109.173]) by mx.google.com with ESMTP id y7sm695743ugc.2007.02.22.06.38.12; Thu, 22 Feb 2007 06:38:12 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v752.3) Content-Transfer-Encoding: 7bit Message-Id: <6CB0D237-F894-4AC3-BDBE-2BB484928D3C@gmail.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: caml-list@inria.fr From: Joel Reymont Subject: Instruction selection in the OCaml compiler: Modules or classes? Date: Thu, 22 Feb 2007 14:38:16 +0000 X-Mailer: Apple Mail (2.752.3) X-j-chkmail-Score: MSGID : 45DDAAD5.002 on discorde : j-chkmail score : XXX : 5/20 1 0.000 -> 3 X-Miltered: at discorde with ID 45DDAAD5.002 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; ocaml:01 compiler:01 icfp:01 ocaml:01 compiler:01 class-based:01 markus:01 mottl:01 slides:01 slides:01 modules:02 modules:02 module:03 seem:07 classes:08 Folks, I'm reading through the icfp99 slides on classes vs modules in OCaml. The part that I'm interested in starts on p27 where instruction selection in the OCaml compiler is discussed. I'm not well-versed in the OCaml compiler code yet so I thought I would ask the list: does the compiler use a module or class solution? 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? Thanks, Joel -- http://wagerlabs.com/