Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

I was over at The Linux Documentation Project about a week ago looking through their excellent list of HOWTOs when I came across the GNU/Linux AI & Alife HOWTO. I read a few pages into it and came across the following quote:

Traditional AI is based around the ideas of logic, rule systems, linguistics, and the concept of rationality. At its roots are programming languages such as Lisp and Prolog

No mention of my favorite language, that's odd. They must have just forgot to include it, or maybe the Faq hadn't been updated in a while. So, later on I was reading through the AI Faq and found a section on what the good languages for AI programming are. It states:

There is no authoritative answer for this question, as it really depends on what languages you like programming in. AI programs have been written in just about every language ever created. The most common seem to be Lisp, Prolog, C/C++, and recently Java.

Okay, that's a bit better. It left some room for Perl by acknowledging a language's suitability depends a fair bit on the programmer's preference. However, it mentions traits such as fast prototyping, garbage collection, and dynamic typing as reasons why Lisp and Java are so well suited for AI. How could they forget Perl after listing these attributes?

So how about Perl community resources? Well I found the perl-ai mailing list but after over a week there's been about 3 posts to it. The Monastery has one previous thread with 'artificial intelligence' in the title and a few other posts on the subject, but not nearly as many as one would expect given the talent of its inhabitants.

I then check out CPAN. There should be tonnes of modules on such a rapidly evolving subject, right?. Well a search for 'AI' turns up 9 relevant modules. Not even in double digits. What's more is most of these modules appear to be in very early stages of development (lots of 0.01 version numbers).

Why is this? Is Perl not suited for AI applications? Is it too slow? Is Perl OO programming too messy? Is it because Perl's considered 'just a scripting language' and not meant for serious projects? Have I poorly defined AI programming and failed to include certain areas (search engines, log analysis) that could be considered AI? Thanks for your replies.

In reply to Artificial Intelligence Programming in Perl by cjf

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?

    What's my password?
    Create A New User
    and all is quiet...

    How do I use this? | Other CB clients
    Other Users?
    Others wandering the Monastery: (7)
    As of 2018-06-25 20:13 GMT
    Find Nodes?
      Voting Booth?
      Should cpanminus be part of the standard Perl release?

      Results (128 votes). Check out past polls.