Making native calls from the JVM

Samuel Audet samuel.audet at gmail.com
Sun Dec 21 00:48:13 UTC 2014


Hello, Vladimir,

On 12/17/2014 08:17 PM, Vladimir Ivanov wrote:
> JNR provides an API to write native function bindings purely in Java.
> The library takes care of all housekeeping needed to support native
> calls. In Project Panama, a special tool (called jextract [1]) for
> native header file import is considered. It should make Java and native
> code co-evolution much simpler to manage.
>
> Best regards,
> Vladimir Ivanov
>
> [1] https://blogs.oracle.com/jrose/entry/the_isthmus_in_the_vm

Yes, I had read that blog post before as well. So, I guess I can 
reformulate my question in terms of jextract. In the case of C++, given 
that JNR was not designed to support C++, what would JNR offer to 
jextract that JNI does not already offer?

Thanks for your insights!

Samuel


More information about the panama-dev mailing list