From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tobias Gerdin Newsgroups: gmane.lisp.guile.user Subject: Re: The Web, Continuations, and All That Date: Mon, 30 Jan 2012 20:17:05 +0100 Message-ID: References: <877h0jea8d.fsf@Kagami.home> <8762g2nmxv.fsf@pobox.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1327951045 13205 80.91.229.3 (30 Jan 2012 19:17:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 30 Jan 2012 19:17:25 +0000 (UTC) To: Andy Wingo , Guile Users Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon Jan 30 20:17:24 2012 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RrwjE-0005OY-No for guile-user@m.gmane.org; Mon, 30 Jan 2012 20:17:24 +0100 Original-Received: from localhost ([::1]:47287 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RrwjE-00013z-8K for guile-user@m.gmane.org; Mon, 30 Jan 2012 14:17:24 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:41627) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rrwj5-00013q-Vj for guile-user@gnu.org; Mon, 30 Jan 2012 14:17:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rrwix-0004WZ-9M for guile-user@gnu.org; Mon, 30 Jan 2012 14:17:15 -0500 Original-Received: from mail-pw0-f41.google.com ([209.85.160.41]:37279) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rrwix-0004WG-1g for guile-user@gnu.org; Mon, 30 Jan 2012 14:17:07 -0500 Original-Received: by pbaa12 with SMTP id a12so4376917pba.0 for ; Mon, 30 Jan 2012 11:17:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=JxH4u+WpE2bhS+811sYf+uMwwEf8ftBJ/BbcXvSNmqo=; b=An849KhCewP3G4wwCRS9Q9mHT3LjEpA9V3mo/uTFBC4/HNXuYQ3xmEVCbycp9yg7bM q2hWYMZD4kwQL4D/WaBzebgsHUgc1mSNZowhX/4FKXWV08DcoVhbrYUDD9o0uyYJ0jKE xhw/SS5EEaj5v32LGHfvWe9DMuUnXmYMk15rE= Original-Received: by 10.68.222.103 with SMTP id ql7mr44622098pbc.53.1327951025729; Mon, 30 Jan 2012 11:17:05 -0800 (PST) Original-Received: by 10.142.187.15 with HTTP; Mon, 30 Jan 2012 11:17:05 -0800 (PST) In-Reply-To: <8762g2nmxv.fsf@pobox.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.160.41 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:9222 Archived-At: 2012/1/23 Andy Wingo : > On Sun 22 Jan 2012 21:46, Ian Price writes: >> It's always nice to see someone playing with continuations. > > Yes, that was beautiful. =A0I'm happy you were able to get something > going, Tobias. =A0Did you ever run into problems with non-resumable > continuations? At times I was scratching my head and wondering what was going on but if you mean continuations that wouldn't resume due to a bug I do not think so. >> It would be if someone(nudge nudge) were to take the effort to make >> one of these experiments practical, since a guile web framework seems >> to be a common request. > > Indeed! What I think would be nice would be to add a (web server control) library making the most common web programming continuation operators available for use in any framework built on top of (web server). This would probably require installing a prompt in `run-server' somewhere, (but that is not too expensive I think in the case it's never used?) and having some policy on how the continuation table is to be managed. One simple way would be to make use of a weak hashtable, although that may not be ideal in all situations. -Tobias