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

使用ffi替代Platform Channel的可能性 #24

Open
xuelongqy opened this issue Mar 3, 2020 · 1 comment
Open

使用ffi替代Platform Channel的可能性 #24

xuelongqy opened this issue Mar 3, 2020 · 1 comment

Comments

@xuelongqy
Copy link

dart:ffi提供dart与C的交互,且为同步执行,在效率和复杂度应该都优于Platform Channel。例如flutter_jscore,这种方案是否可行呢?

@mxflutter
Copy link
Owner

dart:ffi提供dart与C的交互,且为同步执行,在效率和复杂度应该都优于Platform Channel。例如flutter_jscore,这种方案是否可行呢?

有做这方面的实验,因为回调也是同步,需要对框架进行比较大的修改,会列到计划里,感谢建议🌹

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

2 participants