← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #272623]: why is sikulix written in jython, not java or python ?

 

Question #272623 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/272623

    Status: Open => Answered

RaiMan proposed the following answer:
SikuliX is NOT written in Jython, it is written in Java and will ever
be.

To use Python as THE scripting language was a decision by the original
developers 6 years ago (today one would choose JavaScript).

then, back in 2009:
- Java was the only accepted language that was available on all platforms (Windows, Mac and Linux)
- Python as scripting language was accepted also and Jython as Java based interpreter was the compelling decision.

One today might decide, to create SikuliX from scratch, but what would be the possible choices?
I have decided to be as backwards compatible as possible.

conclusion:
SikuliX is written in Java, so use sikulixapi.jar, if you like. No need to ever look at Python.
Version 2 will fully support the usage of JavaScript as THE scripting language.

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