From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 6FF32BBBA for ; Wed, 8 Feb 2006 09:21:25 +0100 (CET) Received: from smtp2.syd.swiftdsl.com.au (smtp2.syd.swiftdsl.com.au [218.214.225.98]) by concorde.inria.fr (8.13.0/8.13.0) with SMTP id k188LMXr007787 for ; Wed, 8 Feb 2006 09:21:24 +0100 Received: (qmail 3009 invoked from network); 8 Feb 2006 08:21:32 -0000 Received: from unknown (HELO coltrane.mega-nerd.net) (218.214.64.136) by smtp2.syd.swiftdsl.com.au with SMTP; 8 Feb 2006 08:21:32 -0000 Received: from coltrane (localhost [127.0.0.1]) by coltrane.mega-nerd.net (Postfix) with SMTP id 61F207B68 for ; Wed, 8 Feb 2006 19:21:18 +1100 (EST) Date: Wed, 8 Feb 2006 19:21:18 +1100 From: Erik de Castro Lopo To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] How to write efficient threaded programs on OCaml Message-Id: <20060208192118.1755d70f.ocaml-erikd@mega-nerd.com> In-Reply-To: <20060208.001547.81488614.Christophe.Troestler@umh.ac.be> References: <20060208.001547.81488614.Christophe.Troestler@umh.ac.be> Organization: Erik Conspiracy Secret Labs X-Mailer: Sylpheed version 2.0.4 (GTK+ 2.8.10; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Miltered: at concorde with ID 43E9AA02.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 ocaml:01 christophe:01 troestler:01 ocaml:01 variants:01 sardes:01 inrialpes:01 aschmitt:01 gpl:01 wrote:01 concurrency:02 gnu:02 hints:03 threaded:03 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=FORGED_RCVD_HELO autolearn=disabled version=3.0.3 Christophe TROESTLER wrote: > Hi, > > I was wondering if some among you would like to share some hints about > how to write efficient multithreaded applications in OCaml. Indeed, > for example, the following concurrency test shows OCaml performing > quite poorly: This question (or variants of it) comes around quite regularly. The standard response is: http://sardes.inrialpes.fr/~aschmitt/cwn/2002.11.26.html#8 If this has changed recently, I hope someone will speak up :-). Erik -- +-----------------------------------------------------------+ Erik de Castro Lopo +-----------------------------------------------------------+ "Attacks by Microsoft Chairman Bill Gates on the GNU General Public License, under which much open source and free software is distributed, have been driven by a fear that the GPL creates a domain of software that Microsoft cannot privatize and control" -- Richard Stallman