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

Investigate using Deno runtime as JS Engine #12

Closed
Pickleboyonline opened this issue Jun 14, 2024 · 1 comment
Closed

Investigate using Deno runtime as JS Engine #12

Pickleboyonline opened this issue Jun 14, 2024 · 1 comment

Comments

@Pickleboyonline
Copy link
Owner

Deno Runtime allows you to create your own v8 runtime. This would allow easily extending the runtime. Also, we can support iOS by using the jitless feature flag: denoland/deno#6621

For Flexbox layout, use the Taffy flexbox that Dioxis uses, which is basically a pure rust version of yoga.

And finally, use UniFFI by Mozilla to expose everything to native side

@Pickleboyonline
Copy link
Owner Author

Closing, I am using the Duktape engine instead because it has extensive documentation and features debugging support. https://duktape.org/

For layout, I made a cgo wrapper for the Yoga layout engine by facebook. And for FFI bindings I am using gomobile

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

1 participant