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

[Enhancement] Auto-generate high-level memory-safe binding between Dart and Rust via flutter_rust_bridge #2

Open
fzyzcjy opened this issue Oct 15, 2021 · 2 comments

Comments

@fzyzcjy
Copy link

fzyzcjy commented Oct 15, 2021

Hi, thanks for the project! However, when testing it, I find that flatbuffers is sometimes not that easy to play with, and such serialization seems to be a bit slower than directly calling ffi. Therefore, maybe we can use flutter_rust_bridge to generate the binding code? It is high-level and memory-safe, so we can get the same feeling as flatbuffer (no need for manual memory allocate/free, etc), while having a better speed and usability.

@hadilq
Copy link
Owner

hadilq commented Oct 20, 2021

Thanks @fzyzcjy for reaching out. Your project looks awesome. It may take a while, but I'll try it in the future for this project.

@fzyzcjy
Copy link
Author

fzyzcjy commented Oct 20, 2021

Thank you and looking forward to it!

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