API review of VarHandles

Martin Buchholz martinrb at google.com
Tue Jan 26 20:31:26 UTC 2016


There's a big "expectations" effect here.  j.l.invoke is "supposed to
be" for making dynamic languages less slow, not for making low-level,
ultra-non-dynamic operations faster.  Asking the Unsafe users of the
world to switch to dynamic VarHandle is like asking C programmers to
rewrite their code in perl 6 ... for performance!  It's the same
"srsly?" feeling one gets reading """We can currently use RPerl to
speed up low-magic Perl 5 code with over 300x performance gain."""


More information about the valhalla-dev mailing list