Re: Prolog programming job?
- From: Matthew Huntbach <mmh@xxxxxxxxxxxxxx>
- Date: Wed, 27 Sep 2006 09:21:31 +0100
On Sat, 23 Sep 2006, bart demoen wrote:
On Sat, 23 Sep 2006 01:20:58 +0200, Nameless wrote:
However, this is not to say that Erlang more than other
functional languages was significantly _influenced_ by
Prolog. It simply means that Prolog was taken in use as
a prototyping tool -- and a fine one it is.
I think you should have a look at the history of Erlang and
appreciate the fact that Erlang at first had commonalities with
Prolog (it was more than just being implemented by a Prolog interpreter).
Sure, quite soon, the authors decided to take out backtracking and logical
variables. But that does not mean Erlang was not influenced heavily by
Prolog.
Erlang actually originated as little more than a sugared version of the
committed choice concurrent logic language which itself went under
various names (Parlog, Strand, Flat Concurrent Prolog, KL1, Guarded Horn Clauses etc) as essentially the same idea was being developed by several research teams who never managed to agree on a common language, but they differed only on very minor details. It was these languages which had already
taken out backtracking and two-way unification, Erlang didn't have to do it,
it used the conclusions the committed choice logic language people had
already come to on how to map a language which looked like a logic
programming language onto concurrent processing. I'm pretty sure this
debt is more openly acknowleged in some of the early Erlang work.
The syntax changes needed to make these language look like functional
rather than logic languages was very minor, and the other change was to
make the concurrency under more explicit programmer control rather than left completely to the underlying implementation, something the committed choice logic language people were toying with anyway.
The Erlang people decided that with logic programming widely seen as
a "failure" following the 5th generation project hype and inevitable
failure to live up to the hype, it would make better marketing to sell
it as a functional rather than a logic language. Thus they airbrushed out
its logic programming background in their later work.
Matthew Huntbach
.
- References:
- Re: Prolog programming job?
- From: Hans Aberg
- Re: Prolog programming job?
- From: Nameless
- Re: Prolog programming job?
- From: Bart Demoen
- Re: Prolog programming job?
- From: Nameless
- Re: Prolog programming job?
- From: bart demoen
- Re: Prolog programming job?
- Prev by Date: Re: Can't compile SWI on FreeBSD
- Next by Date: Re: Can't compile SWI on FreeBSD
- Previous by thread: Re: Prolog programming job?
- Next by thread: Re: Prolog programming job?
- Index(es):
Relevant Pages
|