JNR
Java Abstracted Foreign Function Layer (by jnr)
Java-FFI-benchmarks
Benchmarks for Java JNI vs Project Panama on Linux with JDK 17 (by deepu105)
Our great sponsors
JNR | Java-FFI-benchmarks | |
---|---|---|
1 | 1 | |
1,197 | 3 | |
0.8% | - | |
5.9 | 0.0 | |
2 months ago | about 2 years ago | |
Java | Java | |
GNU General Public License v3.0 or later | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
JNR
Posts with mentions or reviews of JNR.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-04-11.
-
Does Java 18 finally have a better alternative to JNI?
Another popular option is Java Native Runtime (JNR). Though not as widely used or mature as JNA, it's much more modern and has better performance than JNA for most use cases. However, there are some cases where JNA might perform better.
Java-FFI-benchmarks
Posts with mentions or reviews of Java-FFI-benchmarks.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-04-11.
-
Does Java 18 finally have a better alternative to JNI?
If you would like to run the benchmarks yourself, follow the instructions in the readme file on the source repository
What are some alternatives?
When comparing JNR and Java-FFI-benchmarks you can also consider the following projects:
JNA - Java Native Access
JavaCPP - The missing bridge between Java and native C++
JavaPackager - :package: Gradle/Maven plugin to package Java applications as native Windows, MacOS, or Linux executables and create installers for them.
jmh - https://openjdk.org/projects/code-tools/jmh
react-native-geolocation-service - React native geolocation service for iOS and android
spring-native - Spring Native is now superseded by Spring Boot 3 official native support