View source for Talk:Raspberry Pi
- [View source↑]
- [History↑]
Contents
Thread title | Replies | Last modified |
---|---|---|
Alternative languages | 5 | 02:46, 13 November 2012 |
Improved Java support coming? | 0 | 23:11, 5 September 2012 |
First page |
Previous page |
Next page |
Last page |
In theory, any programming language capable of producing Java compatible byte-code can be used with the existing Robocode engine.
The trick would be for Robocode to support the language directly - like it does with the Java and the Jikes compiler. For me when I started this was a great benefit - no need to install a IDE or SDK - just run robocode and go.
For beginners a simpler language would be of benefit - what's would you recommend?
I'm kind of thinking that Lua might be a good language to target, because it's about as easy for beginners as it gets (and a JVM version of sorts does exist [1]).
One other note is, I think a lot of thought would need to be put into the robot API used for this proposed project. I'm of the opinion that the existing non-AdvancedRobot APIs do a less-than-ideal job at being simple to actually use even though the API is simple, and the AdvancedRobot API is kind of messy, in part due to how it's evolved over time (backwards compatibility and such).
The original API was born from the ACM competition and was designed on purpose to be hard-to-use.
Weird coordinate system, bots being disabled after 1000 API calls...
I personally think that reverse compatibility with normal robocode is non-ideal. We could have a non-pi version of course, but building it from the ground up to be simpler on a language like lua.
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page.
Return to Thread:Talk:Raspberry PI/Alternative languages/reply (5).
Noticed this on the Raspberry Pi forums. Maybe there's hope for better Robocode on the Rpi after all? http://www.raspberrypi.org/phpBB3/viewtopic.php?p=150879
First page |
Previous page |
Next page |
Last page |