shekohex / flutterust

Flutter + Rust = :heart:
Apache License 2.0
699 stars 56 forks source link

Is Rust+Flutter ok for real-world production app? #30

Open fzyzcjy opened 2 years ago

fzyzcjy commented 2 years ago

Hi thanks for this template! I wonder whether Rust+Flutter is ok for real-world production app? Or it is only suitable for toy projects?

shekohex commented 2 years ago

Yes, there are more and more projects out there is building on top of Rust and Flutter:

Under Active Development:

  1. Owlchat
  2. Subsocial Flutter SDK
  3. allo-isolate is being used a lot! see the stats from crates.io and this recent PR that introduced zero-copy buffers between Rust <-> Dart! and the comments show that people are using it for serious work.
  4. The RID (Rust Integrated Dart) project which is super cool, I got to e-meet with the author of the project @thlorenz at Flying High with Flutter podcast (link)
  5. audiobookfinder.

You could search more on web about "flutterust" or "flutter and rust" you will find more!

I will leave this issue open if anyone wants to add their projects.

fzyzcjy commented 2 years ago

Thank you!

By the way the zero-copy buffer is very attractive! I need to compute a big image in Rust, and then let Flutter show it in widgets. So this is quite helpful.

fzyzcjy commented 2 years ago

By the way, after a few weeks, I want to comment on my question: Yes, it is purely fine to use rust+flutter on real-world app. I use it in my production environment and it works well.