Clever uses of InvokeDynamic

Charles Oliver Nutter headius at headius.com
Tue Apr 17 10:30:25 PDT 2012


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


More information about the mlvm-dev mailing list