Best AI languages
Hey I'm just starting to get into AI programming but before I do actual code I wanna know which languages are the best to code AI.
November 17, 2005 11:19 PM
LISP and Prolog are considered traditional AI languages, but are maybe not as popular as they used to be. A lot of researchers seem to prototype things in Matlab these days, especially in machine learning / vision research. For game AI you might look at scripting languages like Lua and Ruby that can be embedded into a game engine easily. I know FarCry uses Lua for AI scripting. Really though I'd just say go with what you know / what's right for the particular project you're trying to code.
There is no definite best language for anything. Besides, we need more information to help such as what type of AI programming you will be doing.
http://www.roboguy.net(WIP) - lisperati - SICP - Haskell - Python - OCaml - Lambda the Ultimate - Good Math, Bad Math - Wiki (not Wikipedia) - Pure - Term-Rewriting Functional Language
That's a type of game, not a type of AI. Just code the AI in the language you're making your game in. (ie. probably C++, or maybe Java, C#, etc) When you understand it a bit better, you will have an idea of whether to move it to a different language or not.
Lisp/Scheme is popular in AI research because, first the functionnal paradigm suits AI very well. Second, because opposed to C++ and Java, which are strongly typed languages, Lisp is almost not typed. Some stuff is surprisingly fast to code in Lisp. But the performance is appaling, so it is only used for R&D and prototyping.
Like AP said, many choose to code the AI at least partially in a scripting language. Python is also a popular one. The rest just code the AI in C++ like the rest of the game.
Like AP said, many choose to code the AI at least partially in a scripting language. Python is also a popular one. The rest just code the AI in C++ like the rest of the game.
November 21, 2005 10:40 AM
Quote: Original post by Steadtler
Lisp/Scheme is popular in AI research because, first the functionnal paradigm suits AI very well. Second, because opposed to C++ and Java, which are strongly typed languages, Lisp is almost not typed. Some stuff is surprisingly fast to code in Lisp. But the performance is appaling, so it is only used for R&D and prototyping.
Like AP said, many choose to code the AI at least partially in a scripting language. Python is also a popular one. The rest just code the AI in C++ like the rest of the game.
Yep, especially since a lot of cutting edge research in AI doesn't run in real time, but is rather a prototype, so often times researchers use Matlab for prototyping, C/C++ for considering practical applications, etc.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement