I want to write HAL in C++ !

P

Phlip

Ioannis said:
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.
 
B

beliavsky

Phlip said:
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/Programming/Languages/Fortran/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++.
 
P

Phlip

beliavsky said:
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.
 

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

Forum statistics

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

Latest Threads

Top