4 ms·
Apache Commons Javaflow is an early implementation of continuations: https://commons.apache.org/sandbox/commons-javaflow/tutorial.html https://commons.apache.or
by rzzzt 7y ago
Apache Commons Javaflow is an early implementation of continuations: https://commons.apache.org/sandbox/commons-javaflow/tutorial.html https://commons.apache.org/sandbox/commons-javaflow/tutorial...
- mcv 7y agoI vaguely seem to recall that Rhino, Cocoon's pre-Node serverside javascript, had continuations too. That much have been around 2006 or thereabouts.
- scanr 7y agoThey were great. You could serialise them, store them in a database and then deserialise them some time later and keep going. Cheap workflow engine.
- stingraycharles 7y agoContinuations are a very old concept, and you'll be finding many programming languages have support before that. For example, Scheme had continuations (call/cc) since 1975, and I'm sure there must have been implementations before that.
- bokchoi 7y agoI remember them too. I had to dig a little to find the links I remember from the past. http://web.archive.org/web/20190127111220/https://wiki.apache.org/cocoon/RhinoWithContinuations http://web.archive.org/web/20190127111220/https://wiki.apach... From the Rhino Google group, it looks like some people are still using continuations in Rhino: https://groups.google.com/forum/#!topic/mozilla-rhino/Gfo-dOzQXCw https://groups.google.com/forum/#!topic/mozilla-rhino/Gfo-dO... https://github.com/szegedi/spring-web-jsflow https://github.com/szegedi/spring-web-jsflow
- dmix 7y agoThat Rhino js engine stuff was all written in Java too.