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=0.3 required=5.0 tests=AWL autolearn=disabled version=3.1.3 Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by yquem.inria.fr (Postfix) with ESMTP id 4370DBBCA for ; Fri, 9 May 2008 15:01:20 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhgBAL3nI0jBtPs8mmdsb2JhbACSBgEBAQEBBgcIBxEFmGk X-IronPort-AV: E=Sophos;i="4.27,460,1204498800"; d="scan'208";a="10549292" Received: from mailgw3.ericsson.se ([193.180.251.60]) by mail2-smtp-roc.national.inria.fr with ESMTP; 09 May 2008 15:01:19 +0200 Received: from mailgw3.ericsson.se (unknown [127.0.0.1]) by mailgw3.ericsson.se (Symantec Mail Security) with ESMTP id 9226D20E6B; Fri, 9 May 2008 15:00:54 +0200 (CEST) X-AuditID: c1b4fb3c-ac898bb00000193b-40-48244b060c31 Received: from esealmw129.eemea.ericsson.se (unknown [153.88.254.124]) by mailgw3.ericsson.se (Symantec Mail Security) with ESMTP id 73C4220E68; Fri, 9 May 2008 15:00:54 +0200 (CEST) Received: from esealmw129.eemea.ericsson.se ([153.88.254.177]) by esealmw129.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830); Fri, 9 May 2008 15:00:53 +0200 Received: from ws73032.uab.ericsson.se ([130.100.73.32]) by esealmw129.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830); Fri, 9 May 2008 15:00:53 +0200 Received: from [153.88.16.170] by ws73032.uab.ericsson.se (8.11.7p2+Sun/client-1.3uab4) id m49D0qa05801; Fri, 9 May 2008 15:00:53 +0200 (MEST) Message-ID: <48244B04.8020205@ericsson.com> Date: Fri, 09 May 2008 15:00:52 +0200 From: "Ulf Wiger (TN/EAB)" User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Jon Harrop Cc: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Re: Why OCaml sucks References: <200805090139.54870.jon@ffconsultancy.com> <74cabd9e0805082145p120ce487h6c1194d87f3f8396@mail.gmail.com> <200805090609.36123.jon@ffconsultancy.com> In-Reply-To: <200805090609.36123.jon@ffconsultancy.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 09 May 2008 13:00:53.0185 (UTC) FILETIME=[B66D2B10:01C8B1D4] X-Brightmail-Tracker: AAAAAA== X-Spam: no; 0.01; ocaml:01 parallelism:01 mutable:01 erlang:01 mutable:01 achieves:01 workload:01 blog:98 20,000:98 ubuntu:98 smoke:98 gear:98 010:98 024:98 caml-list:01 Jon Harrop skrev: > > . Parallelism is for performance and performance > requires mutable data structures. I disagree. SMP Erlang has no mutable data structures, but achieves very good scalability anyway. http://www.franklinmint.fm/blog/archives/000792.html Performance implies different things in different applications, of course. In some cases, I'm sure mutable data structures might seem unavoidable. But you can't equate them with performance. The following quote from a recent post on the ErlyWeb list is an example of both multicore scalability and some wicked performance - without mutable data structures: "Under some pretty extreme loads - around 20,000 open mainframe connections - I was blowing up Erlyweb/Yaws. As a sanity check, this was when Erlyweb/Yaws was consuming ~90% of all 4 CPUs on a dedicated newish Dell server running Ubuntu 7.10 server; there was probably smoke coming out of the box at the time ;-> On occasion, I was also blowing up CICS on the mainframe (a Z9 series, so pretty new gear) with workload supplied by this single Erlyweb box on occasion, so maybe we were getting into some weird sort of temporal, black-hole type situation where the universe was starting to fold in on itself ;-> There's nothing like applying extreme workloads to show up some really strange problems. " (David Mitchell) http://groups.google.com/group/erlyweb/browse_thread/thread/587d010c7b3e024 BR, Ulf W