Duby dynamic dispatch has landed!
Charles Oliver Nutter
headius at headius.com
Fri Apr 2 15:23:22 PDT 2010
On Fri, Apr 2, 2010 at 4:36 PM, Attila Szegedi <szegedia at gmail.com> wrote:
> Turns out, now the MethodHandle.invokeVarargs() actually does the whole convert-to-generic-and-invoke-as-vararg, so I committed the definitive solution for it now, which is simply:
Excellent! I updated the copy in Duby's repository, and it works now
without my patch:
~/projects/duby ➔ CLASSPATH=javalib/dynalang-invoke-0.1.jar:src/
JAVA_OPTS="-XX:+UnlockExperimentalVMOptions -XX:+EnableInvokeDynamic"
bin/duby -e "def foo(a:dynamic); puts a.size; end; foo([1,2,3,4])"
4
Hopefully I can return to Duby work and MLVM playing in the near term.
- Charlie
More information about the mlvm-dev
mailing list