giovanniberti / robusta

Easy interop between Rust and Java
MIT License
335 stars 16 forks source link

[Features request] Rust JNI vs Java benchmark example #32

Open HyperAlch opened 1 year ago

HyperAlch commented 1 year ago

It would be nice to add an example that does some common / simple benchmarks. One uses all native Java code, and the other uses Java code that calls the same benchmarks re-coded in Rust. Just to give people an idea on whether or not this library meets their needs. Because in some cases, the performance gain may or may not be worth it.