Article View: comp.lang.prolog
Article #1489Re: Demons in Prolog
From: Matthew Huntbach
Date: Wed, 05 Dec 1990 15:59
Date: Wed, 05 Dec 1990 15:59
18 lines
1210 bytes
1210 bytes
In article <4716@mahendo.Jpl.Nasa.Gov> alan@nereid.jpl.nasa.gov (Alan Quan) writes: > >I need to find out if it's possible to implement demons in Prolog in an >efficient manner. > >I'd like to use such a technique for a real-time application so it has >to be relatively fast--- any comments you can provide on suitability of >Prolog for real-time environments (Prolog alone or Prolog in conjuction >with C) will be of considerable interest. > I think the concurrent logic languages would be much more suitable for what you are doing than Prolog. I don't think Prolog's backtracking mechanism fits in well with real time programming. Demons are really an example of concurrent procedures, so a concurrent language is likely to give you a better implementation than a sequential one. Matthew Huntbach
Technical Details
Message-ID:
<3127@sequent.cs.qmw.ac.uk>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!ukc!icdoc!qmw-cs!mmhReferences:
<4716@mahendo.Jpl.Nasa.Gov>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!ukc!icdoc!qmw-cs!mmh From: mmh@cs.qmw.ac.uk (Matthew Huntbach) Newsgroups: comp.lang.prolog Subject: Re: Demons in Prolog Message-ID: <3127@sequent.cs.qmw.ac.uk> Date: 5 Dec 90 15:59:27 GMT References: <4716@mahendo.Jpl.Nasa.Gov> Organization: Computer Science Dept, QMW, University of London, UK. Lines: 18