Which is the fastest way to access native code from Java?
•
Java
Which is the fastest way to call a native library from Java?
What I know is
>Nativecall – we currently use > JNA – we haven't used it, but it looks reasonable > JNI – it looks terrible, but if we get speed, we'll do it
Solution
Swig makes JNI easier
In terms of speed, I suspect there will be subtle changes - I strongly recommend you choose a phone, you know you will do a lot, and benchmark all the solutions provided
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码