apangin / nalim

Fast Java native interface based on JVMCI
GNU General Public License v2.0
435 stars 30 forks source link

Comparison against Panama? #1

Closed TheMode closed 2 years ago

TheMode commented 2 years ago

I know that their JNI replacement isn't out yet, but including it in the bench seems reasonable. And may push them into providing a critical's replacement as well:)

apangin commented 2 years ago

Would you like to prepare such a benchmark? I'll include it in comparison then.

apangin commented 2 years ago

Updated add benchmark results with the numbers for Panama FFI (spoiler: it's on par with JNI).

Since Panama FFI does not currently provide a zero-copy access to on-heap arrays, there is no Panama equivalent for the max benchmark.