Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Idea Discussion] Platform support: iOS & Android #282

Open
appleguy opened this issue Apr 25, 2022 · 2 comments
Open

[Idea Discussion] Platform support: iOS & Android #282

appleguy opened this issue Apr 25, 2022 · 2 comments

Comments

@appleguy
Copy link

txiki.js is an exciting concept, particularly given the integration of wasm3 and the design preference for small / lightweight engines.

This collection of functionality would be fantastically useful in modern mobile applications on iOS and Android. The use of QuickJS (along with wasm3) should enable deployment even on iOS where JIT execution is disallowed.

  • Has the project ever been built successfully for iOS or Android?
  • Is there any interest in the community in this type of use case?
  • Are there any known problem areas that would have to be overcome to support these platforms?
@TheBrokenRail
Copy link
Contributor

Has the project ever been built successfully for iOS or Android?

I use it in my Android app Let's Code. I haven't updated it in ages, but txiki.js was fairly easy to build for Android considering the Android NDK contains a CMake toolchain file. The hardest part was building curl and OpenSSL (for HTTPS).

However this also benefited from how I used txiki.js (literally just bundling the executable and running it). If someone wanted to actually embed it and integrate it, they'd have to do a bit more work.

@saghul
Copy link
Owner

saghul commented Apr 25, 2022

  • Has the project ever been built successfully for iOS or Android?

I have personally not attempted it (yet).

  • Is there any interest in the community in this type of use case?

Sure thing, I'd be happy to review PRs / help with the effort.

  • Are there any known problem areas that would have to be overcome to support these platforms?

Most lilely build stuff I reckon. Also I guess a new library target would help applications.

I use it in my Android app Let's Code.

Oh, that's awesome, thanks for sharing! :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants