jni-rs
Rust bindings to the Java Native Interface — JNI (by jni-rs)
rust-jni-sys | jni-rs | |
---|---|---|
- | 5 | |
56 | 1,328 | |
- | 2.3% | |
2.2 | 6.3 | |
6 months ago | 3 days ago | |
Rust | Rust | |
Apache License 2.0 | Apache License 2.0 |
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.
rust-jni-sys
Posts with mentions or reviews of rust-jni-sys.
We have used some of these posts to build our list of alternatives
and similar projects.
We haven't tracked posts mentioning rust-jni-sys yet.
Tracking mentions began in Dec 2020.
jni-rs
Posts with mentions or reviews of jni-rs.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-12-10.
-
A system Steam should add
I do have education and real experience in the field. See, for example, my recent work on the rather arcane subject of Rust↔Java FFI. You don't get to pull rank with me, son. I know quite well what CreateFile does. (Fun fact: it creates a file handle, i.e. opens a file, and may or may not create the file itself.)
- Scala project rewrite
-
Having trouble understanding JNI
I've been playing around with jni-rs, I'm eventually planning on developing an app with Java gui and Rust backend. However I'm having some trouble advancing past HelloWorld lol. For example, here's some simple code that doesn't work and I really can't figure out why:
-
Portability of Rust in 2021
- JNI - how well does https://github.com/jni-rs/jni-rs work? Assuming that Firefox runs on Android and uses Rust this should be reasonable to work with?
-
Project Ideas
Even so, staying relatively close to the Java focus of the class might be a good idea, since it will help prepare you for the AP exam. One idea would be using jni-rs to build Java bindings for a useful Rust library. Interesting candidates might be io-uring, lockfree, or even pyo3, if you wanted to try your hand at integrating Java and Python.
What are some alternatives?
When comparing rust-jni-sys and jni-rs you can also consider the following projects:
java-rust-example - Embedding Rust in Java
j4rs - Java for Rust
RustJNI - Run Java code from Rust!
rust-jdbc - Rust-JDBC bindings