comp.lang.ada
 help / color / mirror / Atom feed
From: Niklas Holsti <nholsti@icon.fi>
Subject: Re: AI, security, just wondering.
Date: 1998/11/15
Date: 1998-11-15T00:00:00+00:00	[thread overview]
Message-ID: <364F4B47.8F20F624@icon.fi> (raw)
In-Reply-To: 72inmn$90h$1@nnrp1.dejanews.com

dewarr@my-dejanews.com wrote:
> 
> In article <uf1zn88ijz.fsf@synquiry.com>,
>   Jon S Anthony <jsa@synquiry.com> wrote:
> > You can write anything in anything - theoretically.  But
> > you would be
> > digging yourself a large hole for no good reason doing
> > this sort of
> > stuff in Ada.  For example, you can write a reasonbly
> > featured and
> > quite reasonably efficient Prolog engine in CL in
    [snip]
> > As a reasonable estimate, doing the same
> > thing in Ada
> > would be >> 10 times the effort (though maybe not quite
> > 100 times).
> > What's more it wouldn't be much more efficient - if any.
> 
> This is complete nonsense in my view, it is perfectly
> reasonable to program AI problems in Ada. Even if you
> did wish to do it by first writing a prolog interpretor
> (an extremely dubious proposition), it is absurd to say
> that a prolog interpretor written in Ada would be much
> more than 50 pages of code.
> 
> The efficiency claim is also without substance.

Regarding the "dubious proposition", I know of one non-toy Prolog
system written in Ada. Around 1985-1988, a research project at
the Department of Computer Science, University of Helsinki,
wrote a fairly innovative Prolog system to support research in
modularisation of logic programs and LP implementation
techniques. The Helsinki Prolog system was implemented in
VAX/VMS Ada and included an interactive programming environment.

I don't have at hand data on its size or speed, but I did not
hear any negative rumours at the time, although I was in fairly
close contact with the principals. I'm sure the whole thing was
more than 50 pages, but of course it contained a lot more than
just the interpreter.

There may be some conference or journal papers on this system,
perhaps by Pekka Kilpel�inen or Esko Ukkonen.

The really interesting issue IMHO would be to explore ways to
integrate logic programming and functional programming with Ada.
After all, if an Ada application just needs to do some Prolog
processing, current O/S and middleware tools make it fairly
easy to create a loose coupling between the Ada program and
some existing Prolog processor. Only a tighter coupling would
motivate integrating the Prolog processor with the Ada program.




  parent reply	other threads:[~1998-11-15  0:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-11-11  0:00 AI, security, just wondering Dizzy Casablanca
1998-11-10  0:00 ` Samuel Mize
1998-11-10  0:00 ` Hans Marqvardsen
1998-11-12  0:00   ` Dale Stanbrough
1998-11-12  0:00     ` Jon S Anthony
1998-11-14  0:00       ` dewarr
1998-11-15  0:00         ` Jon S Anthony
1998-11-15  0:00         ` Niklas Holsti [this message]
1998-11-16  0:00           ` Jean-Pierre Rosen
1998-11-17  0:00             ` Art Duncan
1998-11-10  0:00 ` Robert A Duff
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox