a10y / rusty-java

Simple gradle setup for loading Rust nativelibs into Java via JNI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rusty Java

Playing around with Gradle, JNI, and the jni crate to author native libraries in Rust for consumption by Java code.

Running

This uses the gradle application plugin, so simple as

$ ./gradlew run

Up Next

  • Rust calling JVM methods
  • JMH benchmarks to evaluate JNI overhead
  • Apache Arrow for in-memory sharing b/w Java + Rust

About

Simple gradle setup for loading Rust nativelibs into Java via JNI


Languages

Language:Rust 63.9%Language:Java 36.1%