4 ms·
Has anyone done/shared a recent benchmark comparing JNI call latency across Java runtimes? I’m exploring the idea of bringing my strings library to the JVM ecos
by ashvardanian 1y ago
Has anyone done/shared a recent benchmark comparing JNI call latency across Java runtimes? I’m exploring the idea of bringing my strings library to the JVM ecosystem, but in the past, JNI overhead has made this impractical.
- throwaway2037 1y agoCan you share a link to your "strings library"? I am curious about what it can do that a Java String cannot.
- ashvardanian 1y agoAt this point, it doesn’t provide much novel functionality, but it should be faster than the standard libraries of most (or maybe all) programming languages. https://github.com/ashvardanian/StringZilla https://github.com/ashvardanian/StringZilla
- cempaka 1y agoJava has replaced JNI with the Project Panama FFM, which depending on your use case might perform quite a bit better than JNI used to. The Vector API is stuck in incubator and still a bit rough around the edges though, so SIMD might be a bit trickier.