Scoped variables

Andrew Haley aph at redhat.com
Thu Dec 6 11:16:35 UTC 2018


On 12/6/18 10:54 AM, Remi Forax wrote:
> Just to add another possible use case for valhalla,
> scoped variables can allow to pass the reified type arguments of a generic method call out of the band (not directly as argument on stack) thus may allow to come with a backward compatible way to call generic methods, at least in the interpreter.

OK, that's interesting. For that to be reasonably efficient it'd be necessary
not only for access times to be fat but for bind operations to be fast too.

I'm sure that people will find all sort of use cases that we could never
dream of!

-- 
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671


More information about the loom-dev mailing list