Perl-Sensitive Sunglasses | |
PerlMonks |
Re (tilly) 1: How good is Perl for AI?by tilly (Archbishop) |
on Nov 06, 2001 at 22:07 UTC ( [id://123643]=note: print w/replies, xml ) | Need Help?? |
First of all, it shouldn't matter what my gender is. It is no secret, if you browse my nodes long enough you can find a fuller name than just tilly, and then it should be dead obvious what my gender is. But if you wanted to know, I would strongly prefer that you asked me directly rather than posting the question to the winds. As for the actual question, well there are a lot of things called "AI". For some of them Perl is a good fit. For others it is not. When Perl is a fit, it is a fit for the same reason that it is good for other things. You can do complex stuff easily, you have a lot of high-level constructs, you have useful stuff on CPAN. I am sure everyone here can find other things to put on the list of good things about Perl. But Perl also has the following well-known disadvantages:
But still when you are bottlenecking on known issues in the language, that should make you wonder at the suitability of the tool. So in this instance you would try to get the memory usage down and performance up. If you cannot get them within acceptable parameters, switching to Lisp, Dylan, Haskell, or OCaml would be perfectly reasonable. But if it works for you, then it works for you.
In Section
Meditations
|
|