amaranth-lang / playground

Playground for experimenting with and sharing short Amaranth programs on the web
https://amaranth-lang.org/play/
BSD 2-Clause "Simplified" License
12 stars 3 forks source link

Playground hangs during load on watchOS #1

Closed jeffmilstea closed 7 months ago

jeffmilstea commented 7 months ago

Ok, I mostly tried this as a joke (though not entirely, given that a JavaScript version of Prince of Persia runs on the Apple Watch), so this can probably get immediately closed as "WON'T FIX". Clearly, if Playground was able to run on an Apple Watch, it would be INSANE 😊

https://github.com/amaranth-lang/playground/assets/4741788/56801caa-ff6d-472a-84c2-539cf8e3d692

Steps to Reproduce

Expected Results

Actual Results

Testing Notes

whitequark commented 7 months ago

I'm kind of curious why it's broken.

whitequark commented 7 months ago

It appears that the watchOS webview is a stripped-down WebKit implementation which does not have Wasm support. Wasm is an absolute requirement (I can't use an asm.js fallback for reasons) so there's nothing I can do to support watchOS.