Live data from Hacker News

Why Continuations Are Coming to Java

infoq.com

1–10 of 185 posts

Re: Why Continuations Are Coming to Java

#4
post #2

Apache Commons Javaflow is an early implementation of continuations: https://commons.apache.org/sandbox/commons-javaflow/tutorial...

I vaguely seem to recall that Rhino, Cocoon's pre-Node serverside javascript, had continuations too. That much have been around 2006 or thereabouts.

Re: Why Continuations Are Coming to Java

#5
post #4
post #2

Apache Commons Javaflow is an early implementation of continuations: https://commons.apache.org/sandbox/commons-javaflow/tutorial...

I vaguely seem to recall that Rhino, Cocoon's pre-Node serverside javascript, had continuations too. That much have been around 2006 or thereabouts.

They were great. You could serialise them, store them in a database and then deserialise them some time later and keep going. Cheap workflow engine.

Re: Why Continuations Are Coming to Java

#8
I find it amusing that whenever people talk about Java, they're somehow using magic to describe it. It's like Java programmers see themselves as magicians...

This is especially widespread with spring boot. I've even read sentences like "It's hard to say what it does, you can only see it's effects!"

Re: Why Continuations Are Coming to Java

#9
post #8

I find it amusing that whenever people talk about Java, they're somehow using magic to describe it. It's like Java programmers see themselves as magicians... This is especially widespread with spring boot. I've even read sentences like "It's hard to say what it does, you can only see it's effects!"

Just avoid bloated frameworks and your problem is solved.

Re: Why Continuations Are Coming to Java

#10
post #4
post #2

Apache Commons Javaflow is an early implementation of continuations: https://commons.apache.org/sandbox/commons-javaflow/tutorial...

I vaguely seem to recall that Rhino, Cocoon's pre-Node serverside javascript, had continuations too. That much have been around 2006 or thereabouts.

Continuations 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.
Post reply on HN