User talk:Staticline

From Robowiki
Revision as of 00:25, 25 June 2010 by Rednaxela (talk | contribs) (comment on Jython performance)
Jump to navigation Jump to search

Welcome to Robowiki. It is great to see so many new users joining our community. As for a python version, if there is a version of python that works with Java (see Jython), it might be possible. But I am unsure what the overhead would be! — Chase-san 14:51, 24 June 2010 (UTC)

I never had time to take a deeper look into Jython, because of time and possible compability reasons. Currently I'm stuck to Java because my tutor wants me to have the Code in Java. I'll take a look into Jython and Robocode after my machine learning course when I work on my own :) --Staticline 16:03, 24 June 2010 (UTC)

About the Jython overhead, while I'm not a fan of microbenchmarks, this gives a rough idea. In other words, Python in this test is at least 120x slower than Java, and Jython is over 3x slower than Python... so... I'd guess that while one might be able to make a Jython bot perhaps, it's capabilities would either be a bit limited, or require offloading the tight loops to java code. --Rednaxela 23:25, 24 June 2010 (UTC)

You cannot post new threads to this discussion page because it has been protected from new threads, or you do not currently have permission to edit.

There are no threads on this page yet.