Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!usc!elroy.jpl.nasa.gov!jarthur!uunet!comp.vuw.ac.nz!csc.canterbury.ac.nz!fore057 From: fore057@csc.canterbury.ac.nz Newsgroups: comp.lang.prolog Subject: Re: Demons in Prolog Message-ID: <1990Dec8.143210.10140@csc.canterbury.ac.nz> Date: 8 Dec 90 03:33:49 GMT References: <4716@mahendo.Jpl.Nasa.Gov> Organization: University of Canterbury, Christchurch, New Zealand Lines: 20 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. These can be simple triggers which respond to > pre-specified situations in the input data and then initiate a standard > backward-chained Prolog inference (I'm also interested in efficient > Prolog forward chaining in general, but this is not essential). > > 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. Try PDC Prolog V3.2. It's set up to handle pipes for OS/2, and, although it violates some traditional Prolog conventions, it is fast, and would suit real-time applications. Regards, Euan "Reality is frequently innaccurate" - Douglas Adams