dwyl / dwyl/learn-rust

How to integrate `Flutter` and `Rust` with `flutter_rust_bridge`

Open
#17 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
13
Forks
1
PR merge metrics
No merged PRs in 30d

Description

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
image

image

How to integrate `Flutter` and `Rust` with `flutter_rust_bridge`: https://youtu.be/oRahosxToxA
image

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. 🤯

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.