Comment by andreldm

Comment by andreldm 3 days ago

7 replies

I worked at a company where data scientists wrote python code using pandas and we had port it to java and a library called keanu that was very useful but soon became unmaintained.

Of course this was very time consuming and unrewarding, all because only java applications could be deployed to production due to a stupid top-down decision.

This GraalPy sounds like something I wish existed back then.

hobofan 2 days ago

jep[0] has existed for a while now, and does what GraalPy is doing quite well.

I'm using it for similar purposes as you stated and for that it works quite well. A research group I am collaborating with does a lot of their work in one Java application (ImageJ for microscopy), so by integrating my Python processing code into that application, it finds its way a lot quicker into the daily workflows of everyone in that group.

Most recently I've also extended the jep setup to include optional Python version bootstrapping via uv[1], so that I can be sure that the plugins I'm writing have the correct Python version available, without people having to install that manually on the machine.

[0]: https://github.com/ninia/jep

[1]: https://github.com/astral-sh/uv

[removed] 3 days ago
[deleted]
pvorb 3 days ago

Did you look into Jython back then?

  • toyg 3 days ago

    Jython has historically lagged hard, often falling behind for very extended periods. For a time their releases basically just stopped, which led to them missing support for pretty much anything between 2.7 and 3.6 (iirc). I know the project basically rebooted at some point, but I've since lost interest.

    • RMPR 2 days ago

      Not to mention the biggest drawback imho. Those alternative implementations don't support C extensions.

  • jsight 2 days ago

    Jython was dead for a long time. It might be back a little now, but there is still no Python 3 support.

    GraalPy is much more active and more compatible.

  • andreldm 3 days ago

    Not me, someone else in the company did, I don’t remember why it was dismissed.