JAMES LONG

Tag: cps

The Quest for Javascript CPS: Part 2

May 18, 2012
I successfuly compiled a Lisp to Javascript in Continuation Passing Style (CPS) with an acceptable performance hit, and was able to write a stepping debugger and a solution for callback hell.

Compiling to Javascript in CPS, Can We Optimize?

May 11, 2012
I implemented CPS in Outlet and benchmarked the result, as seen here. It's very slow, but is there a way to optimize it?