r/java • u/CutGroundbreaking305 • 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
View all comments
Show parent comment
17
u/JustAGuyFromGermany Feb 06 '26
BLAS/LAPACK is one of the most thoroughly optimised pieces of software in existence. You certainly can try to re-implement it completely in Java, but you should not hope for anything achieving that performance unless you're an absolut expert in the field and have a lot of time to invest.
If you're in it for the personal challenge, sure go for it. See where it leads you.
If you want to write something that is used by others, think very hard about this.