bdk-jni
jni-rs
bdk-jni | jni-rs | |
---|---|---|
1 | 5 | |
9 | 1,115 | |
- | 2.4% | |
0.0 | 6.3 | |
over 1 year ago | 17 days ago | |
Rust | Rust | |
GNU General Public License v3.0 or later | Apache License 2.0 |
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.
bdk-jni
-
Nakamoto: a new Bitcoin light-client
For Android, binding via rust's C FFI would be the way to go. There is a project working on this here: https://github.com/bitcoindevkit/bdk-jni - and the plan would be to integrate nakamoto with bdk, for instance.
jni-rs
-
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?
flapigen-rs - Tool for connecting programs or libraries written in Rust with other languages
j4rs - Java for Rust
jvm - JVM in Rust, written as a learning project.
java-rust-example - Embedding Rust in Java
android_rust_service - Android App with foreground service using Rust Native Libraries
RustJNI - Run Java code from Rust!
wgpu-mc - Rust-based replacement for the default Minecraft renderer
cbindgen - A project for generating C bindings from Rust code
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.
rucaja
java_rs - Project including useful tools for working with Java classes in Rust, as well as a work-in-progress JVM.
Buzzard - 🦀 Learning Rust by Examples.