Native method binding
David Alayachew
davidalayachew at gmail.com
Tue Dec 17 17:02:17 UTC 2024
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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/valhalla-dev/attachments/20241217/c9469850/attachment-0001.htm>
More information about the valhalla-dev
mailing list