Sweet, thanks for that info :) I didn't know about MethodHandle, I'm assuming it's something like j.l.r.Method, but pre-bound to a specific "this"?
-Josh On 1 June 2010 21:28, Reinier Zwitserloot <[email protected]> wrote: > 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 :) > > > -- "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.
