Difference between revisions of "User talk:Staticline"

From Robowiki
Jump to navigation Jump to search
(comment on Jython performance)
Line 2: Line 2:
  
 
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 :) --[[User:Staticline|Staticline]] 16:03, 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 :) --[[User:Staticline|Staticline]] 16:03, 24 June 2010 (UTC)
 +
 +
About the Jython overhead, while I'm not a fan of microbenchmarks, [http://blog.dhananjaynene.com/2008/07/performance-comparison-c-java-python-ruby-jython-jruby-groovy/ 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. --[[User:Rednaxela|Rednaxela]] 23:25, 24 June 2010 (UTC)

Revision as of 00:25, 25 June 2010

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)