Never seen it before until I opened up this book that was published in 2010. Is it still relevant and what has been created with it?
The book is called Introduction to computing and programming in Python- a multimedia approach. 2nd edition Mark Guzdial , Barbara Ericson
java - What is Jython and is it useful at all? - Stack Overflow
Will Jython 3 ever happen
I had to touch Jython for a project I'm working on.
I have been a Java developer for many years. I just learned Python 15 minutes ago and I don't get why nobody uses Jython. Can't we all just run everything on the JVM as the good lord ordained?
Videos
Quoting Wikipedia:
Jython, successor of JPython, is an implementation of the Python programming language written in Java.
As for what uses it may have:
Jython programs can seamlessly import and use any Java class. Except for some standard modules, Jython programs use Java classes instead of Python modules.
Performance measurements of Jython, IronPython and CPython show that both Jython and IronPython outperform CPython for some cases with large datasets.
If you know Python and has bought into the "pythonic" way of doing things, then Jython allows you to bring that philosophy to the JVM stack. If you do this, it is much more than just adding scripting capability.
In our latest projects, all the custom and business logic is built in Jython, at the same time we can still leverage some of the great tried and tested Java libraries like Solr, Jasperreports, Quartz, Jetty, Velocity to name a few.
It does get compiled to bytecode, however, an extra layer is being added, but is no different to using an ORM instead of straight JDBC for example.
What you gain in productivity far out weighs the minuscule lost in performance.
On the server side, Jython is rarely the bottleneck. For mini desktop apps, there may be issues, but very much dependent on what you are trying to do.
The latest JDK, together with containers like Jetty or Tomcat are very mature and stable, adding Python on top, in many cases, gives the best of both worlds.
I honestly never even heard of it before this. For the project I'm doing it's necessary, and it's pretty doable. But man what is it horrible to work with.
So have you ever worked with it and why? I honestly can't figure out another use case than Ghidra scripting. Pretty interested to see what somebody does with it.
EDIT: JYTHON SAVING THE FING DAY! WHO WOULD HAVE THOUGHT. FCK what a rollercoaster. Cursing is probably not allowed on this sub BUT I DON'T FUCKING CARE ANYMORE! I FOUND THE FUCKING MEGA SEEDS!