3 ms·
When I made this comment the other day, I wasn't actually serious that someone should build a JavaScript compiler that does CPS: "CPS is also generally used as
by bascule 15y ago
When I made this comment the other day, I wasn't actually serious that someone should build a JavaScript compiler that does CPS:
"CPS is also generally used as an IR in compilers, not something you write by hand"
http://news.ycombinator.com/item?id=3511211 http://news.ycombinator.com/item?id=3511211
This reminds me of my Celluloid::IO system in Ruby (which uses coroutines to provide a synchronous API), except Celluloid::IO lets you have as many event loops as you want:
https://github.com/tarcieri/celluloid-io https://github.com/tarcieri/celluloid-io