On 06/07/2011 07:35 PM, Alexander Turner wrote:
Rémi,
This is a brilliant thing to be doing at this stage. I look forward to
trying them out.
Are you going to be using invokedynamic its self from Java? Just
wondering. I think there is a huge potential there. I did not see any
in the examples so far - but I have not given them the time they
deserve :)
Take care - AJ
No, there is actually no Java (the language) syntax for invokedynamic,
so I use a trick, I write Java code (usually Main.java in the default
package)
and after I run a small Java program (named Rewriter) that rewrite the
Main.class to introduce invokedynamic
(by example instead of invokevirtual or invokestatic).
I'm not really proud of that, but it works for the small cookbook's test
cases.
Rémi
On 5 June 2011 17:43, Rémi Forax<fo...@univ-mlv.fr> wrote:
I've started to write some small (a some not so small) examples
showing how to implement common dynamic runtime patterns.
http://code.google.com/p/jsr292-cookbook/
Currently, only the source codes are available,
the doc will follow.
Also the dynamic dispatch pattern is not fully implemented
and the memoize one is too complex for my taste.
Rémi
--
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.