← Back to team overview

sikuli-driver team mailing list archive

[Question #271271]: [RFC] Sikuli API implemented in Python and C

 

New question #271271 on Sikuli:
https://answers.launchpad.net/sikuli/+question/271271

I'm interested in implementing the Sikuli API in Python/C/Cython. I've encountered numerous instances in using Sikuli where I've wanted to use existing non-pure Python modules, but they aren't compatible with the Jython implementation of Python.

I think that a selectable backend written in a combination of Python and C would have advantages over the Jython interpreter in some instances. 

Namely, it would allow for the API to be exposed to a standard CPython interpreter, allowing all existing modules to be used in Sikuli programs. It would allow for the API to be compiled to a native code library, compatible with C and C++ programs, as well as any language with the ability to interface with C. (Including Java, of course.)

It would reduce the startup time incurred by the JVM, and allow for more granular memory management, which might be useful on embedded devices.

I have experience with C and Python, and I think Cython would work well for a project like this, though I have yet to use it in a serious capacity. 

What are your thoughts on this? 

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.