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

Slicing and indexing has been my go to example for explaining why Java needs some of this support for years at this point. I'd even be fine with no other operator overloading if I could just overload the [ operator and then do indexing with ranges.