What does HackerNews think of flutter_rust_bridge?

High-level memory-safe binding generator for Flutter/Dart <-> Rust

Language: Rust

#201 in Hacktoberfest
#113 in Rust
Things have improved though last time I checked 4 years ago. Flutter UI kit is definitely more complete and not fragmented as RN UI kits, or even React UI kits. On top of that you have official:

- firebase

- supabase

- revenue cat

- stripe

- google maps

- google ads / analytics

- grpc

- webview

- tensorflow

just to name a few - there is even more community one e.g: lottie, mobx, just_audio etc.

interop seems also improved:

cffi got improved and been out of beta for a while and they also added FFIgen [0] that can generate bindings to C and Rust C

rust flutter bridge [1] - even though not official is very popular and well maintained. So you can use vast cross-platform crates if you need something more advanced and low latency like for Audio you have CPAL

[0] https://pub.dev/packages/ffigen

[1] https://github.com/fzyzcjy/flutter_rust_bridge

maybe some ideas about interop can be taken from flutter module:

https://github.com/fzyzcjy/flutter_rust_bridge

Not a Flutter Dev, but have you tried 'flutter_rust_bridge' [0]. Seems provide some interop between flutter and rust and looks like a popular and active project. I'm native mobile dev and just curious about this kind of interop myself. If it's seamless then looks like good balance to do mobile front-end in flutter and mobile backend in rust.

[0] https://github.com/fzyzcjy/flutter_rust_bridge

Depends on what your requirements are. If it "modern" design (let's not start the millionth discussion on what native/modern design is here), that is also supported on mobile/web, then I would say go with flutter as UI and something like rust as your main language to write your business logic in [1]. You can even use regular c++ with their FFI [2].

[1] https://github.com/fzyzcjy/flutter_rust_bridge

[2] https://docs.flutter.dev/development/platform-integration/c-...