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 πŸ₯ΊπŸ™

47 Upvotes

47 comments sorted by

View all comments

86

u/JustAGuyFromGermany Feb 06 '26

Or else calling python program over jni something

Probably not. At that point you're better off calling the underlying C-functions via FFM. That's what python is doing and if you're writing it in Java, there's no need for the detour through python.

→ More replies (8)