Search code examples
pythonoptapy

Can OptaPy run on GraalVM?


Given that OptaPy internally runs OptaPlanner in a JVM, can it run on GraalVM too, in graalpython?


Solution

  • Before the first OptaPy release, there was code using graalpython, and its still available on this branch.

    So technically it's possible (the POC succeeded). It's even significantly faster than the current JPype approach. But it's not compatible with pip nor with plain python, so for now it's been side-lined and not developed further.