Re: Pengine - the Prolog engine running SWISH

Michael Hendricks <[email protected]>
Newsgroups gmane.comp.ai.prolog.swi
Message-ID <CAFHuXubBmJ-NPM2mmj4ba_B1TiO-dAaPfTJR4x5sGV7QmctfZw@mail.gmail.com>
On Thu, Aug 15, 2013 at 6:57 AM, Torbjörn Lager <[email protected]>wrote:

> At this point I could use some feedback so you are hereby invited to
> take the first versions of Pengine Scratchpad, the Pengine JavaScript
> API Tutorial and (if you haven't tried it before) SWISH (which really
> hasn't changed much lately):
>
>  http://swish.spyderbrain.com:5003/scratchpad
>
>  http://swish.spyderbrain.com:5003/tutorial
>
>  http://swish.spyderbrain.com:5003/swish


This is some very impressive work.  I haven't gone through the entire
tutorial, but the JS API seems natural and productive.  I found the
Scratchpad examples helpful for bootstrapping my understanding of the
system.  I look forward to investigating in greater depth.


> So, what do you think? Could Pengine (or something similar) become THE
> way to do web logic programming in the future? Please be critical and
> feel free to argue as fiercely as you want against my admittedly very
> bold claim.


I personally think Prolog will make an excellent language for web
development (both client and server).  I've written so much JS code where I
thought, "This would be much better in Prolog".  My biggest concern with
Pengine is that it requires network round-trips.  Many applications,
especially on mobile devices, can't afford that kind of latency.

I predict that Prolog web development will eventually settle on a good
Prolog engine written in Javascript that's code compatible with SWI-Prolog.
 That would eliminate network latency, allow one to use SWI's extensive
library (at least the pure Prolog parts) and run the same code in both the
client and server.

-- 
Michael
-------------- next part --------------
HTML attachment scrubbed and removed
_______________________________________________
SWI-Prolog mailing list
[email protected]
https://lists.iai.uni-bonn.de/mailman/listinfo.cgi/swi-prolog
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.