From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mohsen BANAN Newsgroups: gmane.emacs.devel Subject: Re: ELisp futures and continuations/coroutines Date: Thu, 19 May 2011 21:18:50 -0700 Organization: ByStar Federation of Autonomous Libre Services -- http://www.by-star.net Message-ID: References: <87fwogaxzb.fsf@stupidchicken.com> <87mxilezg8.fsf@lifelogs.com> <87boz0eov8.fsf@lifelogs.com> <87mxikrulm.fsf@lifelogs.com> <871uzw5asv.fsf@lifelogs.com> <878vu2ztua.fsf_-_@lifelogs.com> <87oc2ywwuy.fsf@ambire.localdomain> <87r57uyaeu.fsf@lifelogs.com> <87hb8qwsmo.fsf@ambire.localdomain> <87oc2yuu8u.fsf@lifelogs.com> <87d3jew4eq.fsf@ambire.localdomain> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1305865146 32138 80.91.229.12 (20 May 2011 04:19:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 20 May 2011 04:19:06 +0000 (UTC) Cc: Ted Zlatanov , emacs-devel@gnu.org To: Thien-Thi Nguyen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 20 06:19:01 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QNHAz-0000hh-Mf for ged-emacs-devel@m.gmane.org; Fri, 20 May 2011 06:19:01 +0200 Original-Received: from localhost ([::1]:59329 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QNHAy-00062t-Os for ged-emacs-devel@m.gmane.org; Fri, 20 May 2011 00:19:00 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:56649) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QNHAv-00062Z-Hh for emacs-devel@gnu.org; Fri, 20 May 2011 00:18:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QNHAu-0005Ze-5c for emacs-devel@gnu.org; Fri, 20 May 2011 00:18:57 -0400 Original-Received: from 0016.bacs.by-star.net ([198.62.92.166]:36279) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1QNHAt-0005ZG-Rn for emacs-devel@gnu.org; Fri, 20 May 2011 00:18:56 -0400 Original-Received: (qmail 26553 invoked from network); 19 May 2011 21:14:31 -0700 Original-Received: from 192.168.0.187 ([192.168.0.187]) by 0016.bacs.by-star.net ([198.62.92.166]) with ESMTP via TCP; 20 May 2011 04:14:31 -0000 X-Form-Name: murl-sendlink-toCloseFriends In-Reply-To: <87d3jew4eq.fsf@ambire.localdomain> (Thien-Thi Nguyen's message of "Fri, 20 May 2011 03:23:57 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 198.62.92.166 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:139540 Archived-At: >>>>> On Fri, 20 May 2011 03:23:57 +0200, Thien-Thi Nguyen said: Thien-Thi> A "future type" w/o this detail well-defined is no better than Thien-Thi> a simple closure (IMHO) because it has no concept of time / timing. If the point is that: This is not a case of either or, but both. then, I agree. In which case if there is meaningful room for layering, then great! But, I don't suspect much. In any case, here is a pointer to a C fsm interface, documentation and examples that I built and used (in RFC-2188, RFC-2524, ...) 15 years ago. http://www.neda.com/PLPC/110301#x1-1520006.19 I am in no way suggesting its inclusion. But the documentation is relatively good and may be worth reusing. ...Mohsen