Good news: IronPython and Jython compatibility !

Good news, I’ve tested Pyevolve 0.5 with the IronPython 2.0.1 and Jython 2.5b1, and the framework is working perfect (besides the performance loss when comparing with CPython 2.5 and 2.6). The only feature that do not worked is the dump of statistics with the sqlite3, sine there is no sqlite3 on the default install of Jython and IronPython. To Pyevolve work on IronPython, you must install the zlib module for IronPython and import your Python modules like this:

import sys

With this compatibility issue, you can use Pyevolve on your .NET platform or in your Java applications.


  1. That’s great news! Congratulations for your work on PyEvolve.

    In the case of PyEvolve, is the performance hit of using Jython or IronPython too big when compared to CPython?

    Thanks again

  2. Hello Fabio, there is a performance loss, it’s considerable, but It’s not too big, but “big” and “little” are relative terms, it depends on computer and the application that you are using the GA, the representation you use, crossover and mutation rates, etc.. I’ll do some trials to test the performance loss and I’ll post here some comparative graphs.

    Valeu pelo comentário =)

Leave a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.