Live data from Hacker News

GraalPy – A high-performance embeddable Python 3 runtime for Java

graalvm.org

21–30 of 151 posts

Re: GraalPy – A high-performance embeddable Python 3 runtime for Java

#24
post #20

What is the use-case for GraalPy? To be honest I don't understand why would anyone want to use it.

Minecraft Mods can only be written in Java and I want my kid to learn python.

Jython is still 2.x and it'd be nice to let my kid write a minecraft mod in python. Not a business use case but a use case.

Re: GraalPy – A high-performance embeddable Python 3 runtime for Java

#26
post #20

What is the use-case for GraalPy? To be honest I don't understand why would anyone want to use it.

I am assuming - With this, JVMs needing integration with LLMs can embed LLMs in JVM instead of making outbound API calls. If my assumption is right - wouldn't this improve performance of consumer applications?

Re: GraalPy – A high-performance embeddable Python 3 runtime for Java

#28
post #20

What is the use-case for GraalPy? To be honest I don't understand why would anyone want to use it.

Ghidra embeds Python scripting via Jython, which is stuck on Python 2. Switching to GraalPy would allow Python 3 scripting.

Any other Java programs that want a scripting engine could use it as well.

Re: GraalPy – A high-performance embeddable Python 3 runtime for Java

#29
post #20

What is the use-case for GraalPy? To be honest I don't understand why would anyone want to use it.

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.

Post reply on HN