GraalPy or GraalJS with Ignition

With GraalPy gaining traction as the de facto Python 3 runtime on the JVM - has anyone tried implementing GraalPy or GraalJS with ignition?

Citation needed :smile:

GraalVM is very interesting, but one big worry about integrating an Oracle product into Ignition is long-term licensing. If GraalVM suddenly becomes a commercial project, but is deeply entangled into our system, we're "on the hook" to pay for it, with few other options.

Suffice to say that we're not pretending Jython is the forever solution for Ignition scripting - but we're also not convinced by any of the alternative solutions we've encountered yet.

3 Likes

Citation needed :smile:

:thinking:

GraalVM is very interesting, but one big worry about integrating an Oracle product into Ignition is long-term licensing.

Implementing GraalPy as an Ignition Module to start would minimize entanglement. Testing the water to see if you think embedding into a module would be possible?

https://www.graalvm.org/python/#getting-started

You could stick it into a module that does... something? I don't know what you are thinking.

You'll never replace Ignition's scripting engine from a module, though.

Oh for sure - we're hoping to expose some endpoints through a GraalPy module that could then be called from within the existing scripting engine.

Would keep us from having to manage another service...