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.1 required=5.0 tests=AWL,SPF_SOFTFAIL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id 17C76BC6B for ; Mon, 17 Sep 2007 19:54:40 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAI9c7kbAXQImk2dsb2JhbACOFQIHBAYHIA X-IronPort-AV: E=Sophos;i="4.20,265,1186351200"; d="scan'208";a="16326785" Received: from discorde.inria.fr ([192.93.2.38]) by mail4-smtp-sop.national.inria.fr with ESMTP; 17 Sep 2007 19:55:39 +0200 Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l8HHt4Pg024659 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Mon, 17 Sep 2007 19:55:05 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAANxb7kZQW+UCh2dsb2JhbACOFQkKJw X-IronPort-AV: E=Sophos;i="4.20,265,1186351200"; d="scan'208";a="2825996" Received: from main.gmane.org (HELO ciao.gmane.org) ([80.91.229.2]) by mail3-smtp-sop.national.inria.fr with ESMTP; 17 Sep 2007 19:55:37 +0200 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IXKmp-00057E-T5 for caml-list@inria.fr; Mon, 17 Sep 2007 19:53:31 +0200 Received: from ivr94-8-88-162-26-239.fbx.proxad.net ([88.162.26.239]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 17 Sep 2007 19:53:31 +0200 Received: from li by ivr94-8-88-162-26-239.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 17 Sep 2007 19:53:31 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: caml-list@inria.fr From: Zheng Li Subject: Re: [ANN] coThreads 0.10 Date: Mon, 17 Sep 2007 19:51:30 +0200 Message-ID: <87odg16uzh.fsf@pps.jussieu.fr> References: <87lkb5fe3f.fsf@pps.jussieu.fr> <87sl5d8cgd.fsf@pps.jussieu.fr> <1190050760.6058.80.camel@rosella.wigram> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: ivr94-8-88-162-26-239.fbx.proxad.net User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux) Cancel-Lock: sha1:zaqNxgenTYcdi1SuHacEoWiACEo= Sender: news X-Miltered: at discorde with ID 46EEBF78.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; 0200,:01 speedup:01 speedup:01 model:01 ocaml:01 compiler:01 ocaml:01 0.10:98 sourceforge:01 sourceforge:01 wrote:01 pps:01 pps:01 jussieu:01 jussieu:01 skaller writes: > On Mon, 2007-09-17 at 18:48 +0200, Zheng Li wrote: > >> * The process engine can give you real speedup on multi-core and >> multi-processor machines, the networker engine (todo) will give you both >> speedup and scalability. > I'm curious how this can be possible**.. is this only with the message > passing model? > ** Since Ocaml can't multi-process and neither the compiler > nor library are modified .. Well, in order to have semantic consistency among different engines without modifying standard OCaml itself, shard-memory style concurrency should only be achieved through the STM module. It's documented in the pitfall pages: http://cothreads.sourceforge.net/doc/pitfall -- Zheng Li http://www.pps.jussieu.fr/~li