# Prolog in a browser: state of the art?

**URL:** <https://swi-prolog.discourse.group/t/prolog-in-a-browser-state-of-the-art/5328>\
**Category:** Help!\
**Created:** [April 25, 2022, 8:54am UTC](https://swi-prolog.discourse.group/t/prolog-in-a-browser-state-of-the-art/5328 "2022-04-25T08:54:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![remy.s](https://avatars.discourse-cdn.com/v4/letter/r/54ee81/32.png) [@remy.s](https://swi-prolog.discourse.group/u/remy.s)\
**Post date:** [April 25, 2022, 8:54am UTC](https://swi-prolog.discourse.group/t/prolog-in-a-browser-state-of-the-art/5328/1 "2022-04-25T08:54:08Z")

</div>

Looking into building a web application with prolog, I’d like to know:

- Is the webasm runtime of SWI-Prolog bundled with the official prolog distribution, and if so, where are they located?
- Is there a “user manual” to get started with SWI-Prolog running in a web browser?
- What is your experience with prolog in the browser? i.e. is it usable for practical purposes?  
Thanks for any feedback

---

<div class="post-metadata">

**Author:** ![jan](https://yyz2.discourse-cdn.com/free1/user_avatar/swi-prolog.discourse.group/jan/32/4_2.png) [@jan](https://swi-prolog.discourse.group/u/jan)\
**Post date:** [April 25, 2022, 5:22pm UTC](https://swi-prolog.discourse.group/t/prolog-in-a-browser-state-of-the-art/5328/2 "2022-04-25T17:22:14Z")

</div>

As is, I doubt it is very usable. It typically builds using emscripten and a recent version of the development source. It is surely the plan to make it a properly supported version. I can’t promise when though. This will only change if someone is serious about getting this to work or we can pay someone to make it work.

---

<div class="post-metadata">

**Author:** ![remy.s](https://avatars.discourse-cdn.com/v4/letter/r/54ee81/32.png) [@remy.s](https://swi-prolog.discourse.group/u/remy.s)\
**Post date:** [April 26, 2022, 9:46am UTC](https://swi-prolog.discourse.group/t/prolog-in-a-browser-state-of-the-art/5328/3 "2022-04-26T09:46:50Z")

</div>

Thanks for this feedback.  
So, for now, I will have to revert to a more practical solution.  
I guess that delegating computations to pengines on my server could be an acceptable choice?  
BTW, what would be the cost/effort to a generally available webasm runtime of swipl? And how reliable could this one be?
