# Wasm vs swish and others

**URL:** <https://swi-prolog.discourse.group/t/wasm-vs-swish-and-others/8840>\
**Category:** Tools\
**Created:** [March 1, 2025, 10:53am UTC](https://swi-prolog.discourse.group/t/wasm-vs-swish-and-others/8840 "2025-03-01T10:53:57Z")\
**Posts on this page:** 2\
**Page:** 2

<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:** [November 11, 2025, 8:47am UTC](https://swi-prolog.discourse.group/t/wasm-vs-swish-and-others/8840/27 "2025-11-11T08:47:39Z")

</div>

It is indeed not very well documented ☹ If you build the WASM version inside the source, say in the build directory `build.wasm`, you can run the demos using (from `build.wasm`)

```
swipl ../src/wasm/server.pl

```

Note that `swipl` is **not** the WASM version, but the version for the host platform.

That does not include Tinker. To get that, go to `src/wasm/demos` and create a symlink to the checked out tinker repository. Run yarn in the tinker directory to download the JavaScript dependencies. Now restart the above service and you should see Tinker as one of the demos.

The service running at [wasm.swi-prolog.org](http://wasm.swi-prolog.org) basically does that, though packages slightly different. So, in addition to the tinker repo, you need

- The JavaScript dependencies by running `yarn` in the repo
- The SWI-Prolog WASM bundle
- An HTTP server. The `src/wasm/server.pl` is a Prolog based HTTP server. Any server will do though.

---

<div class="post-metadata">

**Author:** ![joseph-vidal-rosset](https://yyz2.discourse-cdn.com/free1/user_avatar/swi-prolog.discourse.group/joseph-vidal-rosset/32/2594_2.png) [@joseph-vidal-rosset](https://swi-prolog.discourse.group/u/joseph-vidal-rosset)\
**Post date:** [November 11, 2025, 9:17am UTC](https://swi-prolog.discourse.group/t/wasm-vs-swish-and-others/8840/28 "2025-11-11T09:17:07Z")

</div>

Many thanks Jan, it works now !  
With your email and also with help of IA:

 ![image](https://global.discourse-cdn.com/free1/uploads/swiprolog/original/2X/a/a993b94e0899cfc90ed08e2535282063d37f7dbf.png)

[Previous page](https://swi-prolog.discourse.group/t/wasm-vs-swish-and-others/8840.md?page=1)
