Re: The Web, Continuations, and All That

2012-02-07 Thread Andy Wingo
Hi Tobias, Clarifying one point: On Mon 06 Feb 2012 20:49, Tobias Gerdin writes: >>    scheme@(guile-user)> (call-with-prompt 'foo (lambda () >> (call-with-output-string (lambda args (abort-to-prompt 'foo (lambda (k) >> k)) >>    $1 = # >>    scheme@(guile-user)> ($1) >>    ERROR: In proc

Re: The Web, Continuations, and All That

2012-02-06 Thread Tobias Gerdin
2012/1/31 Andy Wingo : > Hi Tobias, > > On Mon 30 Jan 2012 20:17, Tobias Gerdin writes: > >> 2012/1/23 Andy Wingo : >>> 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 wou

Fwd: The Web, Continuations, and All That

2012-02-06 Thread Tobias Gerdin
2012/1/31 Ian Price : > [...] > > A whole bunch of ideas were discussed on IRC a while back[1], and > serialisation was one of the issues I was most concerned about. As it > stands, when the program stops you lose all your existing continuations, > which may be undesirable. > > Another important is

Re: The Web, Continuations, and All That

2012-02-04 Thread Ian Price
As a follow up to this, I'd just like to point out this blog post on racket-lang.org. http://blog.racket-lang.org/2012/02/zack-gallers-experience-with-stateful.html -- Ian Price "Programming is like pinball. The reward for doing it well is the opportunity to do it again" - from "The Wizardy Com

Re: The Web, Continuations, and All That

2012-01-31 Thread Andy Wingo
Hi Tobias, On Mon 30 Jan 2012 20:17, Tobias Gerdin writes: > 2012/1/23 Andy Wingo : >> 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

Re: The Web, Continuations, and All That

2012-01-31 Thread Ian Price
Tobias Gerdin writes: > As long as you have some way to redirect the client back to the same > application server things would scale quite well I think. You could > embed some token identifying the application server in the URL which > the reverse proxy could use to forward the request to the sam

Re: The Web, Continuations, and All That

2012-01-30 Thread Tobias Gerdin
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.  I'm happy you were able to get something > going, Tobias.  Did you ever run into problems with non-resumable > continuations? At times

Re: The Web, Continuations, and All That

2012-01-30 Thread Tobias Gerdin
2012/1/25 Ian Price : >>> 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. >> >> While i like the idea i should note that it does not scale. What if you >> have 5 application se

Re: The Web, Continuations, and All That

2012-01-25 Thread Antono Vasiljev
On 01/22/2012 11:46 PM, Ian Price wrote: >> To get better acquainted with continuations I have been playing with >> them in the context of web programming a bit. Much has been written >> on the topic (in particular I find the Racket tutorials very >> instructive), and here I would just like to sh

Re: The Web, Continuations, and All That

2012-01-25 Thread Ian Price
Antono Vasiljev writes: >> 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. > > While i like the idea i should note that it does not scale. What if you > have 5 application serve

Re: The Web, Continuations, and All That

2012-01-23 Thread Andy Wingo
On Sun 22 Jan 2012 21:46, Ian Price writes: > Tobias Gerdin writes: > >> To get better acquainted with continuations I have been playing with >> them in the context of web programming a bit. Much has been written >> on the topic (in particular I find the Racket tutorials very >> instructive), a

Re: The Web, Continuations, and All That

2012-01-22 Thread Ian Price
Tobias Gerdin writes: > Hello, > > To get better acquainted with continuations I have been playing with > them in the context of web programming a bit. Much has been written > on the topic (in particular I find the Racket tutorials very > instructive), and here I would just like to share the sma

The Web, Continuations, and All That

2012-01-22 Thread Tobias Gerdin
Hello, To get better acquainted with continuations I have been playing with them in the context of web programming a bit. Much has been written on the topic (in particular I find the Racket tutorials very instructive), and here I would just like to share the small experiments I did using delimite