In a .net sense C# lambdas compile to delegates in ilasm. On 17 April 2012 18:40, Charles Oliver Nutter <head...@headius.com> wrote:
> Very nice...that brings to mind the probably Lambda implementation, > which works much the same. Thanks! > > On Tue, Apr 17, 2012 at 7:37 PM, Alexander Turner > <nerdscent...@gmail.com> wrote: > > Hi, > > > > Just the other day I came across someone (cannot say who) who was using > > method handles to mimic .net delegates. This was as and alternative to > using > > inner classes and bridge methods. > > > > - AJ > > > > On 17 April 2012 18:30, Charles Oliver Nutter <head...@headius.com> > wrote: > >> > >> I'm filling out the remaining slides in my JAX keynote on > >> InvokeDynamic, and I'm interested in additional "clever" uses of > >> invokedynamic folks have discovered. > >> > >> I have included the following, which we make use of in JRuby: > >> > >> * Dynamic invocation (obviously) > >> * Lazy constants > >> * Multiple dispatch > >> > >> I'll also make a brief mention of MethodHandle as a replacement for > >> java.lang.reflect stuff. > >> > >> Other good ones for a room full of people learning invokedynamic for > >> the first time? > >> > >> - Charlie > >> > >> -- > >> You received this message because you are subscribed to the Google > Groups > >> "JVM Languages" group. > >> To post to this group, send email to jvm-languages@googlegroups.com. > >> To unsubscribe from this group, send email to > >> jvm-languages+unsubscr...@googlegroups.com. > >> For more options, visit this group at > >> http://groups.google.com/group/jvm-languages?hl=en. > >> > > > > -- > > You received this message because you are subscribed to the Google Groups > > "JVM Languages" group. > > To post to this group, send email to jvm-languages@googlegroups.com. > > To unsubscribe from this group, send email to > > jvm-languages+unsubscr...@googlegroups.com. > > For more options, visit this group at > > http://groups.google.com/group/jvm-languages?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "JVM Languages" group. > To post to this group, send email to jvm-languages@googlegroups.com. > To unsubscribe from this group, send email to > jvm-languages+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/jvm-languages?hl=en. > > -- You received this message because you are subscribed to the Google Groups "JVM Languages" group. To post to this group, send email to jvm-languages@googlegroups.com. To unsubscribe from this group, send email to jvm-languages+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/jvm-languages?hl=en.