开发者

Is it possible to implement artificial intelligence concept in jquery?

开发者 https://www.devze.com 2023-01-29 05:02 出处:网络
Is it possible to implement artificial i开发者_开发问答ntelligence concept in jquery?jQuery is build upon Javascript. Javascript is a Turing complete language. You can implement artificial intelligenc

Is it possible to implement artificial i开发者_开发问答ntelligence concept in jquery?


jQuery is build upon Javascript. Javascript is a Turing complete language. You can implement artificial intelligence concepts in any Turing complete language.


Ok, the question seems to be answered by the other guys:

  1. jQuery isn't a programming language but a DOM traversing and manipulation library. (Helps you select and manipulate stuff in an HTML page)

  2. jquery is written in JavaScript. You could program something in JS and then use jQuery to help you display the result in a browser. Perhaps that's what you meant in the first place?

But, out of personal curiosity, what exactly do you want to do? What programming language you use for the AI part should depend on what you are familiar with and what you use for input and output. Unless you want to write an Expert System or a Decision Engine, you might want use the language that the rest of the program is written in.


Sure, though jQuery won't help you any with this...it's for DOM operations, but plain JavaScript has everything you need as a turing complete language.

I'm not saying it's the best platform (because of performance, etc...it's definitely not a great platform IMO, but it has some advantages). But...is it possible? Sure.


jquery is a library written in the javascript language.

It would be possible to implement many artificial intelligence concepts in javascript, but I think the best route would be to use a language more common in the field, such as LISP.

0

精彩评论

暂无评论...
验证码 换一张
取 消