Am 16.01.2015 um 02:52 schrieb Aaron Meurer:
There have been many issues, some of which have been fixed, and some which
maybe weren't. See https://github.com/sympy/sympy/issues/4332. I'd actually
like to have someone try it with the latest Jython and SymPy master to see
what the error is.
I tried, but noticed that the standard Jython is 2.5 an SymPy needs at
least Python 2.6.
Also, Jython assumes it has access to a really ancient Google
Collections API, and cannot even start.
That said, the Jython guys are working on a 2.7 version which is
currently at beta 3, so all hope is not lost.
Installing Jython standalone involves running an installer, and I wasn't
prepared for that, so I punted on it for now.
I personally don't think projects like Jython or IronPython are good ideas.
If you need to use a Python library from another language it's better to
try to interface with Python than to rewrite all of Python in that
language.
Jython is a Python interpreter written in Java. You don't have to
rewrite the Python library, you just run it inside the JVM using Jython.
There's a lot of performance to be gained that way.
Also, they allow extending Java classes with Python code, and they don't
have a GIL (which is good news if the Java side is an application server
with dozens, hundreds or more threads serving requests).
So I wouldn't dismiss Jython as misguided so easily.
The real question is whether they can keep up with the advancing Python
technology, and sadly, it seems they cannot: their current plan is to
finish 2.7, then start with 3.x (probably 3.3).
But to be clear, we would like for SymPy to support them, assuming the
changes necessary aren't too drastic.
Anybody interested in trying with Jython 2.7b3?
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit
https://groups.google.com/d/msgid/sympy/54B8D9F1.2030108%40durchholz.org.
For more options, visit https://groups.google.com/d/optout.