Not saying we're going to use this. π
But ... the fact that it exists is reassuring [to me] as a someone considering using a certain technology. π
If we can offload certain function calls to Rust without a perf penalty, then we should do that!
It means we can write our own SDK in Rust and use it in our Flutter App.
Not that we don't want to write Dart, and for things like layout/positioning, transitions and other things Dart/Flutter does well, we will just use the appropriate Dart/Flutter widget. But Imagine there was an advanced NewSQL Database that had an incredible relational/graph query language and document storage and could be embedded: https://github.com/surrealdb/surrealdb/discussions/1275 if we could Embed SurrealDB (written in Rust) directly in our Flutter App Native Mobile App, then the queries in the App could be the same on both front and backend. π€―
Not saying we're going to use this. π But ... the fact that it exists is reassuring [to me] as a someone considering using a certain technology. π
https://pub.dev/packages/flutter_rust_bridge
How to integrate
Flutter
andRust
withflutter_rust_bridge
: https://youtu.be/oRahosxToxAIf we can offload certain function calls to
Rust
without a perf penalty, then we should do that! It means we can write our own SDK inRust
and use it in ourFlutter
App. Not that we don't want to writeDart
, and for things like layout/positioning, transitions and other things Dart/Flutter does well, we will just use the appropriate Dart/Flutter widget. But Imagine there was an advancedNewSQL
Database that had an incredible relational/graph query language and document storage and could be embedded: https://github.com/surrealdb/surrealdb/discussions/1275 if we could EmbedSurrealDB
(written inRust
) directly in ourFlutter
App Native Mobile App, then the queries in the App could be the same on both front and backend. π€―