News for hackers. Stuff that matters.
Re:A Java 8 Parallel Calamity by ecopoesis on Thursday April 02, 2015 @04:54PM (#9313145)
By default, Scala's parallel collections use fork/join on JVMs > 6, so using Scala probably isn't going to change much for you.[1]

Also, note that this guy's company makes software that directly competes with the JVM's fork/join framework, so he's not exactly an unbiased source.[2]

[1] http://docs.scala-lang.org/overviews/parallel-collections/co...

[2] http://www.coopsoft.com/Products.html

Re:A Java 8 Parallel Calamity by raspasov on Thursday April 02, 2015 @05:16PM (#9313283)
Very good point, they also have a VERY cool website http://www.coopsoft.com/
Re:A Java 8 Parallel Calamity by sciurus on Thursday April 02, 2015 @10:20PM (#9314182)
According to the meta tag, it's generated with Microsoft FrontPage 5.0.
Re:A Java 8 Parallel Calamity by raspasov on Thursday April 09, 2015 @12:23AM (#9345774)
WOW :) Haha, that's way too funny, I made my first website with Frontpage around year 2000.
Re:A Java 8 Parallel Calamity by hibikir on Thursday April 02, 2015 @08:07PM (#9313902)
The way this problems change in Scala is not by using the parallel collections library, but by using Akka straight up, or using Spark.

Akka is an actor system framework, so it's extremely well suited for this problem.

Spark can process tremendous amounts of data in parallel, even over hundreds of machines if you really have the iron, and works just as well with just one machine.

You can technically use them both from Java, but being natively Scala libraries, you are really better off switching to Scala if you are going to use them.

Re:A Java 8 Parallel Calamity by zackangelo on Friday April 03, 2015 @01:44PM (#9317251)
Indeed, the Akka team published an blog post [1] a while back that demonstrates superior performance versus a traditional thread pool. The actor model seems to be a very favorable use case for F/J though.

[1] http://letitcrash.com/post/17607272336/scalability-of-fork-j...

Re:A Java 8 Parallel Calamity by 616c on Thursday April 02, 2015 @06:04PM (#9313491)
Just the kind of analysis I was looking for. Thanks.