A clarifying comment by Maurizio on lambda-dev claims that they are currently implementing something that's similar to the straw man presented by Mark Reinhold at Devoxx '09, with some of the tough questions in it removed (such as using .() instead of plain parens to 'execute' a closure), so the widespread discussion on lambda-dev can at least experiment better.
In otherwords, 'making the compiler-writer's job easy' is apparently part of the plan, at least for now. A standard function type in the JVM *already exists* in the jdk7 specs; it's called MethodHandle. There are already calls going out amongst the alternative languages on the JVM crowd to start switching to it. Also, partly motivated by the closures stuff, MethodHandle objects will most likely gain a JVM-based 'asSam()' method which means at least some of the structural typing that other languages offer can be done 'natively' instead of working by using a lot of reflection magic. So, Josh, Michael, time to lobby your friendly local alternative language developer to get on the bandwagon :) On Jun 1, 4:46 am, Josh McDonald <[email protected]> wrote: > Ew, this reeks of "making the compiler-writer's job easy". There must be a > nicer solution, even within the narrow guidelines of the problem. Even > Obj-C's blocks are nicer than this (in Syntax at least). > > On 31 May 2010 15:58, Michael Neale <[email protected]> wrote: > > > > > > > > >http://www.baptiste-wicht.com/2010/05/oracle-pushes-a-first-version-o... > > > I guess most of the attention has been on the semantics (and rightly > > so) but wow... just wow. > > > (sorry to interupt the appleposse with java news). > > > -- > > You received this message because you are subscribed to the Google Groups > > "The Java Posse" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]<javaposse%2bunsubscr...@googlegroups > > .com> > > . > > For more options, visit this group at > >http://groups.google.com/group/javaposse?hl=en. > > -- > "Therefore, send not to know For whom the bell tolls. It tolls for thee." > > Josh 'G-Funk' McDonald > - [email protected] > - http://twitter.com/sophistifunk > - http://flex.joshmcdonald.info/ -- You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.
