Java 8 will go GA in March 2014. The first proposed final draft of Java 8 JSR 337 was released early this week. One of the main components of this JSR is Lambda Expressions for the language (JSR 337). This brings the functional constructs to the language, which will undeniably make Java a top contender … Continue reading Java 8 gearing up for release, why Java 8 will be a top contender for Java.next languages in 2014?
Two years ago, I blogged about parallel for each construct using a very early version of lambda prototype compiler. At that time, Data Parallelism was already available in C# TPL, but Java designers were hard at work in bringing this idiom to Java. https://gist.github.com/aruld/4949503 Lambda expressions support in Java 8 is here for everyone to … Continue reading Parallel Looping Constructs in Java (revisited)
Java 8 adds support for bulk data operations (JEP 107) in the Collections library. It is unlikely every forms of bulk data operations will be added to the retrofitted Collections framework, but the language designers are making every possible effort in accommodating general use cases of "filter/map/reduce for Java". Libraries should make use of parallelization … Continue reading Java 8 – This ain’t your grandpa’s Java
Almost a year later since publishing the original Lambda proposal, JSR 335 EG has finally decided to adopt C# style syntax for Java 8 Lambda expressions. Brian has outlined the formal model for the new C# style syntax in his mail to lambda-dev: lambda = ArgList Arrow Body ArgList = Identifier | "(" Identifier [ … Continue reading Lambda expressions in Java 8 adopts C# style syntax
Last week, JetBrains announced their new statically typed language Kotlin at the JVM Language Summit. Kotlin joins the elite group of statically typed languages : Scala, Gosu, Ceylon, Fantom, targeted to run on the JVM. Scala is the most mature in this statically typed landscape. Fantom supports static and dynamic typing, so it may not … Continue reading Project Kotlin, a new JVM language to rescue Java developers?
Last November, Mark Reinhold announced that Closures will be added to the Java language and six months later we had an initial prototype based on the Straw-Man proposal and last month's update was considered a significant progress for the language in years. As mentioned in Mark's post, "Working with parallel arrays in Java, unfortunately, requires … Continue reading Parallel Looping Constructs in Java: Lambda expressions to the rescue?
One of the primary uses of Lambda expressions is to implement aggregate operations that can often be parallelized using multi-core processors we have today. The computation over bulk data structures is an area where Lambda expressions provide much needed support where part of the computation is caller defined. Doug Lea's JSR166y Concurrency interest group exactly … Continue reading Aggregate operations, the Lambda Goodness in Java
Recently, Brian Goetz published modified draft of the Lambda proposal. This draft is mature in terms of the direction where Lambda is heading for in the Java world and introduces some breaking changes from earlier draft to align with this direction. While there are few things that need to be sorted out, this draft is … Continue reading Lambdas in Java, Plan B in action