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.0 required=5.0 tests=AWL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id C5AA2BBAF for ; Thu, 10 Jul 2008 22:48:59 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtUEANkSdkjAXQIm/2dsb2JhbACBW7AI X-IronPort-AV: E=Sophos;i="4.30,340,1212357600"; d="scan'208";a="15007678" Received: from discorde.inria.fr ([192.93.2.38]) by mail3-smtp-sop.national.inria.fr with ESMTP; 10 Jul 2008 22:48:59 +0200 Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id m6AKmwDc025084 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Thu, 10 Jul 2008 22:48:59 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AssBANkSdkg+BBB2Zmdsb2JhbACBW5BKDQUCBAkOnw8 X-IronPort-AV: E=Sophos;i="4.30,340,1212357600"; d="scan'208";a="14980712" Received: from smtp-118-thursday.nerim.net (HELO maiev.nerim.net) ([62.4.16.118]) by mail1-smtp-roc.national.inria.fr with ESMTP; 10 Jul 2008 22:48:58 +0200 Received: from hector.lesours (ours.starynkevitch.net [213.41.244.95]) by maiev.nerim.net (Postfix) with ESMTP id 37059B825B; Thu, 10 Jul 2008 22:48:58 +0200 (CEST) Received: from [192.168.0.1] (glinka.lesours [192.168.0.1]) by hector.lesours (Postfix) with ESMTP id F10CB20F0CE; Thu, 10 Jul 2008 22:47:44 +0200 (CEST) Message-ID: <487675B6.5050703@starynkevitch.net> Date: Thu, 10 Jul 2008 22:48:54 +0200 From: Basile STARYNKEVITCH User-Agent: Mozilla-Thunderbird 2.0.0.14 (X11/20080509) MIME-Version: 1.0 To: Sylvain Le Gall Cc: caml-list@inria.fr Subject: Re: [Caml-list] Re: thousands of CPU cores References: <1215717356.24773.17.camel@flake.lan.gerd-stolpmann.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Miltered: at discorde with ID 487675BA.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; basile:01 basile:01 gerd:01 stolpmann:01 ocaml:01 fifos:01 ocaml:01 jocaml:01 non-unix:01 faiencerie:01 92340:01 reine:01 rumors:98 wrote:01 wrote:01 Sylvain Le Gall wrote: > On 10-07-2008, Gerd Stolpmann wrote: >> In Ocaml you can exploit multi-core currently only by using >> multi-processing parallel programs that communicate over message passing >> (and only on Unix). Actually, it's an excellent language for this style. > > Why only on Unix ? Rumors (and my remembering of old benchmarks) say than inter-process communication -using pipes, fifos, or unix sockets- on recent Unix systems (in particular Linux) are significantly faster than the equivalent Windows counterpart. Also, I don't know Windows but it could happen that some system calls in Windows useful for communication might be missing in Ocaml (but I really don't know; I never coded on Windows). Besides, who want to code parallel program with Ocaml or Jocaml on non Unix plateforms? :-) :-) And I am not sure that Ocaml has been ported to non-unix free software... Does Ocaml runs on Hurd, or Syllable, or EROS? But don't trust me on all that. I am only familiar with Unix. Ask some more knowledgable guy! (I am still not sure that the current implementation of Ocaml would nicely run on a thousand cores machine; and I am not sure that such a machine would run the current Linux) Regards. -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basilestarynkevitchnet mobile: +33 6 8501 2359 8, rue de la Faiencerie, 92340 Bourg La Reine, France *** opinions {are only mines, sont seulement les miennes} ***