4 ms·
So what is the difference between this and JNA? I assume it's not the same since it's taking a while to be added to the language
by geokon 5y ago
So what is the difference between this and JNA? I assume it's not the same since it's taking a while to be added to the language
- pie_flavor 5y agoJNI is the only escape hatch in the JRE. JNA leverages JNI and so has a better API while still keeping the terrible performance. This is like JNA, but more robust, and while also being an escape hatch of its own so that you can finally get performance similar to P/Invoke when making native calls.
- chakkepolja 5y agoThis is apparently focused on efficiently accessing off-heap memory. In Jni lot of things require copies. Only JNI API that's reliably copy-free is ByteBuffer API.