jni-bindgen VS jni-rs

Compare jni-bindgen vs jni-rs and see what are their differences.

jni-bindgen

Generate Rust JVM FFI wrappers around APIs defined by .jar or .class files, because maintaining your own hand-written bindings is an exercise in boredom, soundness bugs, and pain. (by MaulingMonkey)

jni-rs

Rust bindings to the Java Native Interface — JNI (by jni-rs)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
jni-bindgen jni-rs
1 5
77 1,115
- 2.4%
0.0 6.3
about 1 year ago 21 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.

jni-bindgen

Posts with mentions or reviews of jni-bindgen. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-04-07.

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
    2 projects | /r/Steam | 10 Dec 2022
    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
    2 projects | /r/scala | 3 Apr 2022
  • Having trouble understanding JNI
    1 project | /r/rust | 3 Apr 2022
    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
    8 projects | /r/rust | 10 Sep 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
    2 projects | /r/rust | 5 Feb 2021
    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 jni-bindgen and jni-rs you can also consider the following projects:

robusta - Easy interop between Rust and Java

j4rs - Java for Rust

java-rust-example - Embedding Rust in Java

java_rs - Project including useful tools for working with Java classes in Rust, as well as a work-in-progress JVM.

RustJNI - Run Java code from Rust!

android_rust_service - Android App with foreground service using Rust Native Libraries

cbindgen - A project for generating C bindings from Rust code

etopa - Time-based one-time password authenticator

rucaja

bdk-jni - JNI bindings for bdk

Buzzard - 🦀 Learning Rust by Examples.