r/java • • Feb 06 '26

Java's numpy?

Thinking about making a java version of numpy (not ndj4) using vector api (I know it is still in incubator)

Is there any use case ?

Or else calling python program over jni something (idk just now learning things) is better?

Help me please πŸ₯ΊπŸ™

46 Upvotes

47 comments sorted by

View all comments

Show parent comment

3

u/craigacp Feb 07 '26

People who work on OpenJDK have already built prototypes for that, e.g. https://github.com/PaulSandoz/blis-matrix which binds to the BLIS implementation of BLAS/LAPACK using FFM. But it's the indexing that gets you.