Safari Technology Preview: still not working, but maybe some hope?
Safari Technology Preview Release 202 (released just yesterday) lists the following new features in the WebAssembly section:
Added support for JIT-less Wasm. (281726@main) (113768974)
Added support for garbage collection. (281975@main) (126103011)
Added support for Wasm Tail Calls. (281716@main) (131410516)
https://webkit.org/blog/15798/release-notes-for-safari-technology-preview-202/
That said, the demo at https://spritely.institute/news/building-interactive-web-pages-with-guile-hoot.html still does not work, albeit with a different error than before.
Release Safari, Version 17.6 (19618.3.11.11.5), produces:
Unhandled Promise Rejection: CompileError: WebAssembly.Module doesn't parse at byte 12: 0th type failed to parse because array types are not enabled
at line 194 of reflect.js
Safari Technology Preview release 202 produces:
Unhandled Promise Rejection: CompileError: WebAssembly.Module doesn't parse at byte 63: invalid opcode 21, in function at index 2
also at line 194 of reflect.js
This is the first line of executable code in:
static async load_main(path, abi, user_imports = {}) {
let mod = await SchemeModule.fetch_and_instantiate(path, abi, user_imports);
let reflect = await mod.reflect();
return reflect.#init_module(mod);
}
I'm speculating that it's at least getting a little bit further down the instantiate path here?
I would be delighted to help test things, if it would be useful. I have access to Macs (both Intel and M1), current generation iPhones and iPads, and an Apple Watch.