Re: Pengine - the Prolog engine running SWISH
Jan Wielemaker <[email protected]>
| Newsgroups | gmane.comp.ai.prolog.swi |
|---|---|
| Message-ID | <[email protected]> |
On 08/16/2013 01:50 AM, Richard A. O'Keefe wrote: > > On 16/08/2013, at 2:08 AM, Michael Hendricks wrote: >> 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. > > My first reaction was "that's crazy". > My second reaction was, "you know, given emscripten and Asm.js, > that 'good Prolog engine written in Javascript' could *be* SWI Prolog". How do you see that? The code base is unusable as JS asks for a quite different design than C. A lot of the fun of SWI-Prolog comes from its extensive libraries, many of which have C components. Of course you can copy goodies from SWI-Prolog. There are more systems with goodies to copy from though. Note that a colleague of mine does a lot of app development and generally claims you should not try to compute on the local device as that drains the batteries really fast. Now, I assume there is not a single truth here ... Cheers --- Jan > > _______________________________________________ > SWI-Prolog mailing list > [email protected] > https://lists.iai.uni-bonn.de/mailman/listinfo.cgi/swi-prolog >