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
2
u/agibsonccc Feb 07 '26
I feel this pain so much. The best I was able to do was
INDArray arr = arr.get(point(0),all());
with static imports. It works but it's not nearly as clean as even what I can do in c++.