> On Nov 12, 2018, at 2:22 PM, George Neuner <gneun...@comcast.net> wrote:
> 
>> PS: Why do web-servers need CPS?
> 
> In general they don't.


They need continuations, because BACK buttons, cloning of TABs and similar 
actions force a control flow on interactive web programs that is easily 
explained and programmed via first-class continuations (which can be modeled, 
among other things, with CPS). Since most PLs do not support first-class 
continuations, programmers of interactive web-server plugins to manually encode 
this flow of control, which is done via partial CPS conversion. You can now 
think about how well most programmers are prepared for this via their 
undergraduate training and you get the idea why interactive servlets were often 
broken. Web client frameworks have eliminated some of this problem (but suffer 
from their own, which aren’t unrelated to continuations either). 

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to