|
关于这个问题Paul Graham的On Lisp一书中是这么解释的:Lisp was invented by John McCarthy, who also invented the term "artificial intelligence". His students and colleagues wrote their programs in Lisp, and so it began to be spoken of as an AI language. This line was taken up and repeated so often during the brief AI boom in the 1980s that it became almost an institution. 简要概括下就是Lisp的发明者John McCarthy(就是前一段去世那位)恰好是AI学科的发明者,所以他的同事和学生都用Lisp写程序。这里用词是写程序("wrote their programs"),所以把Lisp当和AI挂钩有点像是一个凑巧。后面Paul Graham当然还提到Lisp不止可以用于AI。 至于后一个命题,AI开发是不是主要是用lisp,我觉得倒不是。AI的应用面挺广的,如果说游戏的AI的话,用lua的就挺多的;其他的方面,感觉用C或者C++的也绝不在少数。
至于Lisp在AI开发上是否比其他语言有好处,如果问一个Lisp程序员,他可能会告诉Lisp在几乎任何方面都比其他语言有好处。 :)
|
|