Skip to content

Comment on Continuations by example: Exceptions, time-traveling search, threads, and moreparent

Comments

Me to. Level failed, but then i found this cheat code from apache and at lest i now understand basics.

http://commons.apache.org/sandbox/commons-javaflow/

AFAIK Javaflow's been inactive for over a decade. Newer implementations for the same concept include https://github.com/offbynull/coroutines and https://github.com/vsilaev/tascalate-javaflow/.

Full disclosure: I'm the one who built / owns the first project.

On the topic of inactive continuation implementations for Java: I implemented native support for both delimited (shift/reset) and non-delimited (call/cc) continuations in the Avian JVM. See https://github.com/ReadyTalk/avian/blob/master/test/extra/Co... for some mind-bending examples.

Love it. Lmk if you never need a hand. I was on the core analysis team at Fortify.

Thanks for sharing this background and cool project.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.