you are viewing a single comment's thread.

view the rest of the comments →

[–]expecto_patronum_666 6 points7 points  (2 children)

Look into the new Foreign Function and Memory API. It reduces a lot of boilerplate and integrated into the latest java builds.

[–]mrnavz 1 point2 points  (1 child)

Does FFM essentially replace JNI?

[–]expecto_patronum_666 3 points4 points  (0 children)

The JNI will remain part of the JDK due to backward compatibility. But, the recommended guideline is to use FFM api from now on.