6 ms·
Java Fork/Join for Parallel Programming
- pohl 16y agoOn a related note, I found an interesting project last night with a more evented slant: http://hawtdispatch.fusesource.org/ 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?
- mbreese 16y agoThis 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?
- andreaja 16y agoAs I understand it, that is about it. And for that exact reason it bugs me that they call it fork/join.
- iliastsagklis 16y agoYeap, that's exactly it...
- deleted 16y ago[deleted]
- deleted 16y ago[deleted]
- jmah 16y agoArgh, 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?
- cooper6 16y agoThe proposed fork-join framework is actually quite awful. See here: http://www.coopsoft.com/ar/CalamityArticle.html http://www.coopsoft.com/ar/CalamityArticle.html