I want to write HAL in C++ !

P

Phlip

Brian said:
What do I need to create HAL in C++ ?

Join the NSA, and get down with the advanced AI algorithms that civilians
are not allowed to know exist.
 
W

White Wolf

Julie said:
C++ is not a suitable language for advanced AI such as this.

Wow. Until now thought that C++ is a language in which anything can be
done. Even a new language.
 
I

Ioannis Vranos

White said:
Wow. Until now thought that C++ is a language in which anything can be
done. Even a new language.


I think what he/she means is that the language does not support AI
concepts directly, as C does not provide language support for OO
programming directly, for example.


Julie BTW, is there any decent language for AI these days? I have heard
about LISP, but is considered old.
 
J

Julie

Ioannis said:
I think what he/she means is that the language does not support AI
concepts directly, as C does not provide language support for OO
programming directly, for example.

Julie BTW, is there any decent language for AI these days? I have heard
about LISP, but is considered old.

Not that I'm aware of, but I hardly frequent those development circles.

I was going to add to my original post that if the OP were truly serious, they
would in all reality have to develop their own (AI) language as well...
 
I

Ioannis Vranos

Julie said:
Not that I'm aware of, but I hardly frequent those development circles.

I was going to add to my original post that if the OP were truly serious, they
would in all reality have to develop their own (AI) language as well...


Actually I will disagree here. C++ is heavily used in AI projects, for
example games.

A nice AI-oriented web site:

http://ai-depot.com
 
P

Phlip

Ioannis said:
I think what he/she means is that the language does not support AI
concepts directly, as C does not provide language support for OO
programming directly, for example.

It ain't the meat it's the motion. Until someone thinks of a good algorithm
for AI, the existing ones are equally incompatible with all programming
languages.
Julie BTW, is there any decent language for AI these days? I have heard
about LISP, but is considered old.

It's very unfortunate for our industry that LISP's promoters somehow
associated it with AI.
 
A

Attila Feher

Phlip said:
It ain't the meat it's the motion. Until someone thinks of a good
algorithm for AI, the existing ones are equally incompatible with all
programming languages.

Going fully OT, IMHO AI is (from one POV) a special kind of pattern
matching. If enough of the pattern matches, you create an association etc.
If this match is too forgiving, you get an idiot or a genious, depending on
luck. :)
 
T

Thomas Matthews

Brian said:
What do I need to create HAL in C++ ?

First start with English language parsing.
Search for "Eliza program" for a classic example.

This is a starting point:
#include <iostream>
#include <cstdlib>

int main(void)
{
std::cout << "HAL" << std::endl;
std::cout << "IBM" << std::endl;
return EXIT_SUCCESS;
}

Also search the web for voice recognition. Beware
that much of voice recognition uses platform specific
functionality that is not discussed in

--
Thomas Matthews

C++ newsgroup welcome message:
http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq: http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.learn.c-c++ faq:
http://www.comeaucomputing.com/learn/faq/
Other sites:
http://www.josuttis.com -- C++ STL Library book
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,183
Messages
2,570,965
Members
47,512
Latest member
FinleyNick

Latest Threads

Top