mmm sounds like an idea!
i may would have done it that way if i had known about it. but now, it makes little sense.
engine internally, this is pretty 100% bug free, and the interface code will have to be automatically created anyway, which should make it pretty hard to get wrong. or better said, either all the events/commands are wrong, or none of them, and so it would be extremly easy to spot if done wrong.
Also, so far there is no union used anywhere in the AI interface (a light arguemtn though).
but reading your post reminded me, that there is an other reltively important change in the refactor: instead of teamId, which is now used as the main identifier for an AI, it will be skirmishAIId afterwards. though, this woudl be pretty much a search&replace change only for you.
AI interface in Python?
Moderators: hoijui, Moderators
Re: AI interface in Python?
What about IronPython?
+ Heavy support from MS
+ Partly faster than CPython
+ Python 2.6 is in rc3 stage
+ You would gain Mono related languages, too. (C#, Java (oh again), Boo, VB,....)
+ I already implemented a Mono interface once and I would help you
- Monos API is not well documented
Well, I think you guys know more about IronPython and CPython than me.
+ Heavy support from MS
+ Partly faster than CPython
+ Python 2.6 is in rc3 stage
+ You would gain Mono related languages, too. (C#, Java (oh again), Boo, VB,....)
+ I already implemented a Mono interface once and I would help you
- Monos API is not well documented
Well, I think you guys know more about IronPython and CPython than me.
- hughperkins
- AI Developer
- Posts: 836
- Joined: 17 Oct 2006, 04:14
Re: AI interface in Python?
It's not cross-platform.Agon wrote:What about IronPython?
+ Heavy support from MS
+ Partly faster than CPython
+ Python 2.6 is in rc3 stage
+ You would gain Mono related languages, too. (C#, Java (oh again), Boo, VB,....)
+ I already implemented a Mono interface once and I would help you
- Monos API is not well documented
Well, I think you guys know more about IronPython and CPython than me.
Anyone who would like their AIs to be generally available in the Spring release package will only be interested in cross-platform solutions I feel.
At least: that is why I prefer using Java to using C# for AIs.
Python would be:
- cross-platform
- it's I feel a purely open-source language, little patent burden, no obvious direct potential issues with Novell, Microsoft, etc ...
- it's an awesome language! I feel
- it is I feel a 'highly available' language, in the sense that it basically comes by default in many linux desktops, and it's pretty easy I feel to install in Windows.
Re: AI interface in Python?
IronPython runs on any platforms where Mono runs which are many.
And about this patent issues, really thats old school and was never a problem.
Well never mind I only want to point out that I feel you can gain more by creating a Mono AI interface than a CPython one.
Same applies to the Java interface by the way. What I heard about JnaPointers and lots of other problems.... well with Mono you would have gained the .Net world and Java world.
And about this patent issues, really thats old school and was never a problem.
Well never mind I only want to point out that I feel you can gain more by creating a Mono AI interface than a CPython one.
Same applies to the Java interface by the way. What I heard about JnaPointers and lots of other problems.... well with Mono you would have gained the .Net world and Java world.
Re: AI interface in Python?
Sorry for posting to such an old post...
Just as a note, there is an Python Interface in developement:
http://springrts.com/wiki/AI:Development:Lang:Python
Just as a note, there is an Python Interface in developement:
http://springrts.com/wiki/AI:Development:Lang:Python
- hughperkins
- AI Developer
- Posts: 836
- Joined: 17 Oct 2006, 04:14
Re: AI interface in Python?
Wow, this is awesome news abma! Nice work!
Re: AI interface in Python?
Great news!