Hacker News new | ask | show | jobs
by zgramana 2465 days ago
If you haven’t checked it out already, you should take a look at Jython. As the name suggests, it’s a Java implementation of Python.

https://www.jython.org/

1 comments

I think the reason the parent mentions GraalVM instead of Jython is that Jython can't use C libs like numpy. But GraalVM lets you compile JVM to a native binary, so maybe there is some way to use Cython in JVM.
JyNI* was created to bridge Jython to Numpy. I don’t have any personal experience with it, but one need not wait for a GraalVM solution.

* https://www.jyni.org/