Simplest rust <-> java/scala binding?

TLDR: Is there anything like pyo3 for java/scala ?


I want something to allow rust <-> scala bindings. Mainly I want to be able to call Rust from Scala. Scala serves as the "repl", Rust code provides some primitives.

pyo3 is nice in that it boils down to (1) add this crate dependency, (2) tag structs/functions with these macros, (3) run this build process, and (4) everything magically works.

Is there something similar for accessing Rust primitives from java/scala ?

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.