4 ms·
a-Shell [1][2] has WebAssembly (and WASI) support and ships with a compiler that compiles to, you guessed it, Wasm. Though there are limitations on what can be
by SirGiggles 2y ago
a-Shell [1][2] has WebAssembly (and WASI) support and ships with a compiler that compiles to, you guessed it, Wasm. Though there are limitations on what can be done, such as no sockets, no forks, and etc...
[1] https://github.com/holzschu/a-shell https://github.com/holzschu/a-shell
[2] https://holzschu.github.io/a-Shell_iOS/ https://holzschu.github.io/a-Shell_iOS/
- dathinab 2y agoI did a bit of research: around 2020 Apples iOS added technical support for JIT, but the chances that your app gets approved are slim you can AOT wasm to a normal dynamic library and ship that various wasm runtimes support an interpreter mode, this slow but might still be fast enough JavaScripCore supports WASM so you can make apple run the WASM for you ... but more or less in a browser sandbox. The app store still has rules forbidding any form of dynamic execution of code which wasn't either shipped with the app or typed by the user independent of technical solution.