News for hackers. Stuff that matters.
Re:Java Fork/Join for Parallel Programming by pohl on Saturday February 19, 2011 @06:33PM (#2240283)
On a related note, I found an interesting project last night with a more evented slant:

http://hawtdispatch.fusesource.org/

Another tangent: it's too bad java's servlet API is defined in a blocking style. Is there a JSR to remedy that deficiency?

Re:Java Fork/Join for Parallel Programming by mbreese on Saturday February 19, 2011 @07:46PM (#2240490)
This doesn't actually fork a JVM process, right? It's just splitting up a calculation "unit", which behind the scenes gets mapped to different execution threads. Does that sound about right?
Re:Java Fork/Join for Parallel Programming by andreaja on Saturday February 19, 2011 @08:26PM (#2240597)
As I understand it, that is about it. And for that exact reason it bugs me that they call it fork/join.
Re:Java Fork/Join for Parallel Programming by iliastsagklis on Sunday February 20, 2011 @05:56AM (#2241628)
Yeap, that's exactly it...
Re:Java Fork/Join for Parallel Programming by jmah on Sunday February 20, 2011 @06:38AM (#2241676)
Argh, can we please stop using exponentially recursive Fibonacci as an example to parallelize? Because using a linear (or even constant-time) algorithm makes it moot.

How about a big parallel mergesort or something?

Re:Java Fork/Join for Parallel Programming by cooper6 on Monday February 21, 2011 @09:11AM (#2245428)
The proposed fork-join framework is actually quite awful. See here: http://www.coopsoft.com/ar/CalamityArticle.html