Hacker News new | past | comments | ask | show | jobs | submit login

Your best bet for this right now would be kotlin multiplatform, which can target IOS native, browsers, and of course android. It also has an experimental wasm compiler but it's not ready for production usage. But you could actually target wasm with it.

Embedding WASM on IOS might be problematic because of Apple's rules regarding what is and isn't acceptable there. They've never liked people embedding interpreters in their apps. That's how they blocked flash as well. And that's how they continue to block the firefox and chrome browser engines.




Technically you could run the wasm code in a web view, but that would make all calls have overhead in the milliseconds range


There’s a wasm interpreter you can use on iOS.

https://github.com/wasm3/wasm3




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: