The two-state solution: native and serializable continuations accord

8 years 4 months ago
The two-state solution: native and serializable continuations accord
Continuation-based Web servers provide advantages over traditional Web application development through the increase of expressive power they allow. This leads to fewer errors and more productivity for the programmers that adopt them. Unfortunately, existing implementation techniques force a hard choice between scalability and expressiveness. Our technique allows a smoother path to scalable, continuationbased Web programs. We present a modular program transformation that allows scalable Web applications to use third-party, higher-order libraries with higher-order arguments that cause Web interaction. Consequently, our system provides existing Web applications with more scalability through significantly less memory use than the traditional technique. Categories and Subject Descriptors D.3.3 [Language Constructs and Features]: Control structures General Terms Languages, Performance, Theory Keywords Delimited Continuations, Stack Inspection, Web Applications
Jay A. McCarthy
Added 29 Jan 2011
Updated 29 Jan 2011
Type Journal
Year 2010
Authors Jay A. McCarthy
Comments (0)