Discussions

News: Rebel Labs Report reveals Java 8: Lambdas, Default Methods and Bulk Data Operations

  1. Rebel Labs has been writing about Java 8 in bits and pieces for a few months now, and wanted to pull it all together into a single publication. Even though some delays have occurred along the way, many believe it’s going to be worth it because of three major additions to the language: Lambdas, default (or defender) methods, and bulk data operations.

    In case you’re hearing about it for the first time, "Project Lambda" is the major theme in the upcoming Java 8 and probably the most awaited feature for Java developers. Lambdas, as a language feature, do not come alone: to get most out of lambdas, you’re gonna need interface improvements for the standard JDK libraries.

    The main driver behind the new lambda feature et al is the hardware trend of going towards multi-core. Chip designers have nowhere to go but parallel, and software developers must find out a better way to utilize the features of the underlying hardware. For application developers, and in our case Java developers, need simple parallel libraries to make their work more efficient. The obvious place to start for such an evolution is the parallelization of collections. Lambdas, it turns out, are great for improving the readability of your code and the expressiveness of the language.

    It would be fair to say that without more language support for parallel idioms, people will instinctively reach for serial idioms. Hence, the new parallel idioms should be simple, intuitive and easy to use.

    For this plus a lot more, review the HTML version of Java 8 Revealed: Lambdas, Default Methods and Bulk Data Operations (and download the free PDF version!)

  2. It's great to see content like this broken down to the introductory level, using plain language (and code examples) to explain the new stuff that should be awesome to use.