a-b-street / osm2lanes

A common library and set of test cases for transforming OSM tags to lane specifications
https://a-b-street.github.io/osm2lanes/
Apache License 2.0
34 stars 2 forks source link

Explore JVM bindings #93

Open dabreegster opened 2 years ago

dabreegster commented 2 years ago

@tordanik today expressed interest for OSM2World. I just want to start a place where we can have further discussion and track the process of looking into Rust -> JVM bindings.

droogmic commented 2 years ago

A quick google tells me that whilst JNI should be easy, its performance is on the way out.

I suggest we align to experiment with JNA: e.g. https://github.com/drrb/java-rust-example or https://github.com/seanjensengrey/rust-jna-example/blob/master/src/main/java/rustjna/Treble.java

Steps would be:

Should be quick to experiment.