Skip to content

nathell/ruby-continuation-webapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Proof-of-concept continuation-based Sinatra webapp

This is just a proof of concept to show off how continuations in Ruby work and to illustrate how they could be used for a simple Web app. This code is NOT suitable for production use. In particular, it only works with WEBrick. You have been warned.

This app was prepared for my talk at 4Developers Festival 2016. Idea for the app and some implementation comes from Christian Queinnec’s paper “Inverting back the inversion of control or, Continuations versus page-centric programming”.

Running it

# bundle install
# ruby server.rb

Then go to http://localhost:4567.

Enjoy!

About

Proof-of-concept continuation-based Sinatra webapp.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published