473,385 Members | 1,867 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

I want to write HAL in C++ !

What do I need to create HAL in C++ ?
Jul 22 '05 #1
25 2744
"Brian Raab" <ka*********@yahoo.com> wrote in message
news:8d**************************@posting.google.c om...
What do I need to create HAL in C++ ?


Are you sure you want to do that, Dave?

--
Unforgiven
Jul 22 '05 #2
"Brian Raab" <ka*********@yahoo.com> wrote in message
news:8d**************************@posting.google.c om...
What do I need to create HAL in C++ ?


HAL understands English. You can write him
(or speak to him) in English.

-Mike
Jul 22 '05 #3
Brian Raab wrote:
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.

--
Phlip
http://industrialxp.org/community/bi...UserInterfaces

Jul 22 '05 #4
Brian Raab wrote:
What do I need to create HAL in C++ ?

A C++ compiler.

--
Ioannis Vranos

http://www23.brinkster.com/noicys
Jul 22 '05 #5
Brian Raab wrote:
What do I need to create HAL in C++ ?


You need a good C++ compiler and loads of time.

--
WW aka Attila
:::
With sufficient thrust, pigs fly just fine. -- RFC 1925
Jul 22 '05 #6
White Wolf wrote:
Brian Raab wrote:
What do I need to create HAL in C++ ?


You need a good C++ compiler and loads of time.


HAL was implemented in photonic circuitry, so you need to start below the
compiler level...

--
Phlip
http://industrialxp.org/community/bi...UserInterfaces
Jul 22 '05 #7
Phlip wrote:
White Wolf wrote:
Brian Raab wrote:
What do I need to create HAL in C++ ?


You need a good C++ compiler and loads of time.


HAL was implemented in photonic circuitry, so you need to start below the
compiler level...


I prefer gin-tonic.

--
WW aka Attila
:::
Don't believe everything you think.
Jul 22 '05 #8
Brian Raab wrote:

What do I need to create HAL in C++ ?


C++ is not a suitable language for advanced AI such as this.
Jul 22 '05 #9
Julie wrote:
Brian Raab wrote:

What do I need to create HAL in C++ ?


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.

--
WW aka Attila
:::
Anything worth fighting for is worth fighting dirty for.
Jul 22 '05 #10
White Wolf wrote:
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.

--
Ioannis Vranos

http://www23.brinkster.com/noicys
Jul 22 '05 #11
ka*********@yahoo.com (Brian Raab) wrote in message news:<8d**************************@posting.google. com>...
What do I need to create HAL in C++ ?


When I dream, I have a pony.
Socks
Jul 22 '05 #12
Ioannis Vranos wrote:

White Wolf wrote:
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.


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...
Jul 22 '05 #13
Julie wrote:
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

--
Ioannis Vranos

http://www23.brinkster.com/noicys
Jul 22 '05 #14
Thanks.

Ioannis Vranos a écrit:
Julie wrote:
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


Jul 22 '05 #15
Ioannis Vranos wrote:

Julie wrote:
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

--
Ioannis Vranos

http://www23.brinkster.com/noicys


Game AI != HAL, not now, not ever.
Jul 22 '05 #16
Ioannis Vranos wrote:
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.

--
Phlip
http://industrialxp.org/community/bi...UserInterfaces
Jul 22 '05 #17
Phlip wrote:
It's very unfortunate for our industry that LISP's promoters somehow
associated it with AI.

It isn't associated?

--
Ioannis Vranos

http://www23.brinkster.com/noicys
Jul 22 '05 #18
Phlip wrote:
Ioannis Vranos wrote:
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.


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. :-)

--
Attila aka WW
Jul 22 '05 #19
Brian Raab wrote:
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
news:comp.lang.c++.

--
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

Jul 22 '05 #20
"Unforgiven" <ja*******@hotmail.com> wrote in message news:<2s*************@uni-berlin.de>...
"Brian Raab" <ka*********@yahoo.com> wrote in message
news:8d**************************@posting.google.c om...
What do I need to create HAL in C++ ?


Are you sure you want to do that, Dave?


superb answer! well done!
Jul 22 '05 #21
Ioannis Vranos wrote:
It's very unfortunate for our industry that LISP's promoters somehow
associated it with AI.


It isn't associated?


By comparison, they are _still_ printing tutorials that say "FORTRAN is good
for math", and mathematicians are still using it to write fragile cruft with
run-on methods. Its only edge is it was among the first languages to feature
recursive descent parsing for arbitrarily complex math FORmulas, and its
modern incarnations can optimize well due to a lack of things programmers
need, like pointers.

So, which of the following common AI patterns does Lisp work extra well for?

- pattern matching
- neural networks
- semantic webs
- fuzzy logic
- dynamic attractors
- fractals
- expert databases
- logical inference

The answer is it once worked a tiny bit for expert databases. Things like
you tell the 'puter "the cube is on top of the brick, and the cone is on top
of the cube. Is the cone over the brick?" and the 'puter says "yes".

However, you must still type in the expert database rules. Lisp, by treating
lists of string literals as lists of string objects, once made the data
entry part of expert databases a tiny bit easier, so magazine articles
appeared saying "Lisp is good for AI", and it stuck.

--
Phlip
http://industrialxp.org/community/bi...UserInterfaces


Jul 22 '05 #22
"Phlip" <ph*******@yahoo.com> wrote in message news:<Tm*****************@newssvr19.news.prodigy.c om>...
Ioannis Vranos wrote:
It's very unfortunate for our industry that LISP's promoters somehow
associated it with AI.


It isn't associated?


By comparison, they are _still_ printing tutorials that say "FORTRAN is good
for math", and mathematicians are still using it to write fragile cruft with
run-on methods. Its only edge is it was among the first languages to feature
recursive descent parsing for arbitrarily complex math FORmulas, and its
modern incarnations can optimize well due to a lack of things programmers
need, like pointers.


On the subject of Fortran you are obnoxious and ignorant. It hasn't
been spelled with all upper caps ("FORTRAN") since the 1990 standard.
People who misspell it usually know nothing about current versions of
the language. The 2003 standard was just ratified, and there exist
about 10 compiler vendors for the Fortran 95 standard -- see
http://www.dmoz.org/Computers/Progra...ran/Compilers/
..

Do you think libraries like LAPACK are "fragile cruft"? Why do so many
non-Fortran programmers call it to do linear algebra?

The array operations of Fortran 90 make it possible to write more
concise numerical code than in most other languages, including C and
C++.
Jul 22 '05 #23
beliavsky wrote:
Do you think libraries like LAPACK are "fragile cruft"? Why do so many
non-Fortran programmers call it to do linear algebra?
No, I think the "Fortran" I have debugged, with >50 page functions, is
fragile cruft. YMMV.
The array operations of Fortran 90 make it possible to write more
concise numerical code than in most other languages, including C and
C++.


Look up "expression metatemplates".

Newbie tutorials should describe Lisp and Fortran accurately, and should not
repeat rumors. Bill Gates never said "nobody will ever need more than 640k",
Lisp is not for AI, and Fortran is not _arbitrarily_ for math.

--
Phlip
http://industrialxp.org/community/bi...UserInterfaces

Jul 22 '05 #24
"Phlip" <ph*******@yahoo.com> wrote in message news:<0m******************@newssvr15.news.prodigy. com>...
Newbie tutorials should describe Lisp and Fortran accurately, and should not
repeat rumors.


Yes, and people whose knowledge of Fortran is based on a standard from
1977 or 1966 should not bash it based on outdated information. Links
to tutorials on modern Fortran (F90 and F95) are at
http://www.dmoz.org/Computers/Progra...ran_90_and_95/
..
Jul 22 '05 #25
Brian Raab wrote:
What do I need to create HAL in C++ ?


Hardware Abstraction Layer?
Jul 22 '05 #26

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: monika | last post by:
Hi all... I am able to select a student's story and open it in a word doc. the teacher then corrects the story, highlight in colors the comments, strikethrough. In fact all the privileges I...
1
by: s.shahzaib.ali | last post by:
I want to make analog clock skin of windows media player so how can i roteate the layer upto 360 degrees with the help of javascript please tell me iam very anxious about it. iam the first and only...
13
by: Maroon | last post by:
Hi, I want to write a standard java user defined function, like this example:- select db_fun("roll"), roll from student; **db_fun() will work for all tables of the all databse here db_fun is...
11
by: Michael B. | last post by:
I'm still learning C so I've written a simple app which lets you make a contact list (stored as a linked list of structs), write it to a file, and read it back. It works fine, but I notice in my...
10
by: Atul | last post by:
Hi, I just stepped into C#. I am facing one problem. Here is the scenario. I am posting some data to one website (https site). It returns me response HTML. I want to parse this HTML and want to...
4
by: Junjie Wang | last post by:
It seems the aspx always is saved in IE history, how to write aspx that make IE does not save it ? Thanks. -Junjie
182
by: Jim Hubbard | last post by:
http://www.eweek.com/article2/0,1759,1774642,00.asp
1
by: Steve | last post by:
I am reworking a class that generates source code. I want to add a "preview" function, much like the refactor dialog in vs2005. To facilitate this, I have changed what used to be my "writeToFile"...
1
by: Benny Ng | last post by:
Dear All, Now I met one problem in the development of my one application. I have one ASP.NET page. It's for disply the information of customer. But now I have one new requirement. It's to...
1
by: somnamblst | last post by:
I have a Flash form that uses ASP to write to Access db. I have an HTML form that uses ASP to upload files and email those files and sends copies to recipients based on the form fields. I would like...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.