Native method binding
David Lloyd
david.lloyd at redhat.com
Tue Dec 17 17:11:57 UTC 2024
Oops, you're right. Sorry. All these clever code names...
On Tue, Dec 17, 2024 at 11:02 AM David Alayachew <davidalayachew at gmail.com>
wrote:
> Wrong mailing list? Did you mean Panama instead of Valhalla?
>
> On Tue, Dec 17, 2024 at 10:51 AM David Lloyd <david.lloyd at redhat.com>
> wrote:
>
>> With the (hopeful) ascendance of FFM over JNI, what about the idea of
>> allowing `native` methods to be bound to `MethodHandle`s on the Java side
>> at run time? This would allow for a much nicer experience than creating
>> wrapper methods and would bring another level of parity with JNI, which has
>> this capability (`RegisterNatives`). The capability could be restricted as
>> a form of native access, and only allowed for methods in classes within the
>> same module.
>>
>> What do you think?
>>
>> --
>> - DML • he/him
>>
>
--
- DML • he/him
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/valhalla-dev/attachments/20241217/bf328028/attachment.htm>
More information about the valhalla-dev
mailing list