From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id NAA08460 for caml-red; Fri, 15 Dec 2000 13:51:14 +0100 (MET) Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id UAA18113 for ; Thu, 14 Dec 2000 20:27:40 +0100 (MET) Received: from tkb.mpl.com (tkb.mpl.com [198.77.4.83]) by nez-perce.inria.fr (8.11.1/8.10.0) with ESMTP id eBEJRdL03452 for ; Thu, 14 Dec 2000 20:27:39 +0100 (MET) Received: from tkb.mpl.com (IDENT:tkb@tkb.mpl.com [198.77.4.83]) by tkb.mpl.com (8.9.3/8.9.3) with ESMTP id OAA08855; Thu, 14 Dec 2000 14:20:53 -0500 From: "T. Kurt Bond" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14905.7573.233207.196188@tkb.mpl.com> Date: Thu, 14 Dec 2000 14:20:53 -0500 (EST) To: Chet Murthy Cc: Dave Berry , STARYNKEVITCH Basile , caml-list@inria.fr Subject: Re: callcc/cps-style programming In-Reply-To: <200012131636.LAA02306@bismarck-chet.watson.ibm.com> References: <3145774E67D8D111BE6E00C0DF418B6638D1D3@nt.kal.com> <200012131636.LAA02306@bismarck-chet.watson.ibm.com> X-Mailer: VM 6.75 under Emacs 20.4.1 Sender: weis@pauillac.inria.fr Chet Murthy writes: > I'm not saying that threads are bad. Rather, what I'm saying is, > there is little need, in a language like CAML, for _user-level_ > threads. Kernel threads, you need, for talking to DB2 or Oracle. > Period. But user-level threads, implemented in the language, don't > give you much value. Much better to do some sort of explicit (perhaps > semi-automated) CPS-conversion, and use an event-dispatcher. > > Amongst other things, at least, you'll never have to worry about being > time-sliced where you didn't expect it. Hmmm. Well, try telling the Erlang folks that super-lightweight user-level processes aren't useful. Or the Gambit Scheme folks: their next release has lightweight threads built on call/cc. (Note: these two things may be related.) http://x58.deja.com/=dnc/getdoc.xp?AN=622079764&CONTEXT=976821773.388825093&hitnum=0 http://www.ericsson.se/cslab/projects/etos.shtml -- T. Kurt Bond, tkb@tkb.mpl.com