> "Anyone have any thoughts on 
(http://java.dzone.com/articles/think-twice-using-java-8) and 
(http://coopsoft.com/ar/Calamity2Article.html)"

These two articles are criticizing just parallel streams or collections. 
The same general feature exists in Scala and C#, most people don't use it 
or consider it terribly important in those languages. It doesn't hurt. It's 
a super simple way to change a collection .sort() or .aggregate() type call 
to use multi-core. It might be nice to have in some cases, but more 
substantial parallelization in real world apps will require more broad 
architectural changes.

Both articles are written with an exaggerated, emotional tone. The coopsoft 
article is 99% rhetoric and hyperbole to the point of absurdity.

Also, these articles don't mention anything else about Java 8. Note in my 
original post I mention five awesome things about Java 8 and parallel 
streams isn't mentioned. I also mention the ways Java is behind Scala and 
parallel collections isn't mentioned either.

> So... When looking toward Java 8, "catching up in some areas" would be a 
fair assessment

Java 8 is definitely playing catch up in some areas. That is wildly 
obvious. In some areas it has caught up with the back of the pack, in other 
areas it has moved to the front.

Java 8 is playing major catch up with clean lambda syntax and basic 
map/filter type collection operations. Even JavaScript has had this stuff 
for a while. IMO, C/C++ are the worst in this regard.

Java 8 edges towards the front of the pack with flatMap and Optional. 
Scala, Haskell, and F# have had those for a while, but JavaScript doesn't 
have flatMap (nor does C/C++), and C# doesn't have Option/Optional.

Java's date/time library went from the worst of the major languages to the 
best. So that is catching up and then some.

The Java VM has always been very competitive for the type of VM that it is. 
Obviously, Scala is completely built around the Java VM, and the Java 8 VM 
has many significant improvements.

The Scala devs have said that the Java 7 MethodHandles were too slow 
compared to other custom systems that they have built. I know Java 8 has 
made a lot of improvements in those areas, so hopefully it is more 
competitive.

-- 
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 javaposse+unsubscr...@googlegroups.com.
To post to this group, send email to javaposse@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to