[Help wanted]: SWIPL wasm build not compatible with emsdk v4

Our CI in swipl-wasm is broken when trying to auto update to emsdk v4 [1]. Unfortunately, I do not have time to resolve this issue myself at present; so any support in resolving this issue will be greatly appreciated.

Note the fix will need to be upstream in the swipl-devel repo [2].

[1] BREAKING CHANGE: update to emsdk v4.0.1 by jeswr · Pull Request #840 · SWI-Prolog/npm-swipl-wasm · GitHub
[2] wasm build incompatible with emsdk v4 · Issue #1343 · SWI-Prolog/swipl-devel · GitHub

1 Like

The issue has been fixed in the GIT version. But … running the benchmarks using node shows a slowdown of approximately 3 times :frowning: Does anyone know why Emscripten 4 is so much slower than 3?

Oops. The Emscripted -sASSERTIONS was still in effect. Emscripten 4 performance is the same as the latest Emscripten 3 release. Sorry for the noise.