Of course the good thing is -- once code is formulated in terms of
lambda predicates, switching parallelism engines is a smaller matter.
So if fork-join is full of it, use a different one. Sure, it will take
a bit of a code change to avoid the default parallel streams, but
nothing near what it took to change from hard-wired, procedural,
data-traversal-and-logic-all-in-one code.
That's not to defend fork-join -- just rejoicing that its far easier to
switch parallelism algorithms with lambdas.
On 2/26/2013 11:32 AM, Casper Bang wrote:
Very interesting article. While I can't claim to understand it all in
detail, I am not too surprised (this is Java after all). How can one
expect a coherent, simple and pragmatic parallel programming model, by
a CS professor isolated at his university?!
This is in stark contrast to C#, where the elephant is chopped up and
digested in pragmatic pieces by a team of designers meeting 3 times a
week, responsible for the programming model as a whole (one does not
need to be a CS major to use PLINQ, Parallel.For etc.).
Bummer :/
On Tuesday, February 26, 2013 3:46:51 PM UTC+1, Edward Harned wrote:
My last article caused a lively discussion:
https://groups.google.com/d/topic/javaposse/Rfp7t23lQTo/discussion
<https://groups.google.com/d/topic/javaposse/Rfp7t23lQTo/discussion>
I've added a new article just for Java8:
http://coopsoft.com/ar/Calamity2Article.html
<http://coopsoft.com/ar/Calamity2Article.html>
constructive criticism is always welcome.
ed
--
You received this message because you are subscribed to the Google
Groups "Java Posse" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/javaposse?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Java
Posse" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/javaposse?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.