unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Tobias Gerdin <tgerdin@gmail.com>
To: Andy Wingo <wingo@pobox.com>, Guile Users <guile-user@gnu.org>
Subject: Re: The Web, Continuations, and All That
Date: Mon, 30 Jan 2012 20:17:05 +0100	[thread overview]
Message-ID: <CAJiKzQPBjLyWnRsAbAf58BVzjvhxB0ni3wHv62MJJYaOccNv0g@mail.gmail.com> (raw)
In-Reply-To: <8762g2nmxv.fsf@pobox.com>

2012/1/23 Andy Wingo <wingo@pobox.com>:
> On Sun 22 Jan 2012 21:46, Ian Price <ianprice90@googlemail.com> writes:
>> It's always nice to see someone playing with continuations.
>
> Yes, that was beautiful.  I'm happy you were able to get something
> going, Tobias.  Did 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



  reply	other threads:[~2012-01-30 19:17 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-22 18:46 The Web, Continuations, and All That Tobias Gerdin
2012-01-22 20:46 ` Ian Price
2012-01-23 21:11   ` Andy Wingo
2012-01-30 19:17     ` Tobias Gerdin [this message]
2012-01-31 10:00       ` Andy Wingo
2012-02-06 19:49         ` Tobias Gerdin
2012-02-07  8:48           ` Andy Wingo
2012-01-25  8:59   ` Antono Vasiljev
     [not found]   ` <4F1FC437.8020801@antono.info>
2012-01-25 10:32     ` Ian Price
2012-01-30 19:03       ` Tobias Gerdin
2012-01-31  9:06         ` Ian Price
2012-02-04  9:53           ` Ian Price
     [not found]           ` <CAJiKzQMETO7g6YyqCbeoV0GD09gena6RK6q6bYhjTOe+wNq+Uw@mail.gmail.com>
2012-02-06 19:40             ` Fwd: " Tobias Gerdin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJiKzQPBjLyWnRsAbAf58BVzjvhxB0ni3wHv62MJJYaOccNv0g@mail.gmail.com \
    --to=tgerdin@gmail.com \
    --cc=guile-user@gnu.org \
    --cc=wingo@pobox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).