swipl-devel icon indicating copy to clipboard operation
swipl-devel copied to clipboard

Standalone Wasm build

Open patrickdet opened this issue 6 months ago • 1 comments

The current wasm build it targeting browser use cases. The build artefacts are JS loader files and a swipl-web.wasm and a swipl-web.data file.

My use case is to run on the server in Wasmer. I have tried to work with the current https://github.com/SWI-Prolog/npm-swipl-wasm files but it requires manual decompressing and decoding of the data file, extracting offsets from a JS loader file, mounting those files as a virtual filesystem with Wasi.

Is there an interest in a standalone Wasm build that can be used with server Wasm runtimes?

patrickdet avatar May 21 '25 20:05 patrickdet