-
Notifications
You must be signed in to change notification settings - Fork 37
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
javascript runner #1
Comments
@gedw99 Thank you for your suggestion, wait until I have time to experiment, and continue to communicate. |
Now we can implement this feature based on dart's ffi feature,https://github.com/xinfeng-tech/flutter_jsc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It looks like miniprogram uses liquid core: https://github.com/j0j00/flutter_liquidcore
There is a better way IMHO
You can run the JS inside a JS VM that is 100% compiled to c using
https://github.com/dop251/goja
You can cross compile this to run on any Mobiles, Desktop or small ARM device.
Then just call it the same way you call miniProgram now by using Flutter Method channels.
The text was updated successfully, but these errors were encountered: