1. Computing

Progress on Project Lambda

By July 16, 2010

Follow me on:

Baptiste Wicht on his blog has noticed that there has been an update to the proposal for the introduction of lambda expressions (closures) to Java. The proposal, State of the Lambda posted by Brian Goetz, builds upon the proposal put forward by Mark Reinhold after his announcement at the Devoxx conference last year. It's a good read for anyone interested in how Project Lambda is progressing and includes a bit of background into the issues the project is trying to address.

July 24, 2010 at 6:29 pm
(1) anonymous says:

Actually, the “State of the Lambda” proposal represents a significant step back from Mark Reinhold’s original “straw-man” proposal. It in no way “builds upon” or “progresses” from the straw-man. Indeed, the new proposal is rather similar to CICE (Josh Bloch, et alii), which Mark Reinhold specifically said was not powerful enough to tackle the problems that closures proposals are supposed to address. “SotL” removes function types, leaving lambda expressions as (almost) pure syntactic sugar for certain types of anonymous classes. In other words, developers are required to use types like Runnable, Callable, and Comparator. So now libraries will have to define tons of new single abstract method (SAM) types. (See, for example, the ParallelArray framework’s “Ops” interfaces, part of a new parallel-processing library planned for inclusion in JDK 7.) I think the new proposal is a terrible idea, and so do others like Neal Gafter and Remi Forax. Why not take a look at recent posts on the lambda-dev mailing list?

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

©2014 About.com. All rights reserved.