Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Weird world of continuations

Weird world of continuations

Meet CPS (continuation-passing style) reality where return is passé, goto is disguised in elegant, functional manner and stack overflow is defeated by tail call optimization. See how CPS works (or not) in Perl, JavaScript, some Lisp dialect and few other languages. Discover what impact have the idea from 1970s had on modern programming techniques. Come and hear about all this stuff from a guy who actually used CPS in production application.

Grzegorz Rożniecki

February 27, 2015
Tweet

More Decks by Grzegorz Rożniecki

Other Decks in Programming

Transcript