Replies: 18 comments 77 replies
-
Personally I favor Flutter for its rapid development speed and feature richness. (I wrote >300k lines of code Flutter app, deployed in both mobile Android/iOS and desktop Windows/MacOS/Linux)
Flutter can communicate with Rust conveniently via https://github.com/fzyzcjy/flutter_rust_bridge/ (Disclaimer: I wrote that library, originally for my personal use)
Not sure about your case, but for my own case it is very similar and I reused almost all code. If you are talking about different UI, flutter's widgets are like React widgets, and you can freely write some conditional branches to combine widgets differently on desktop and mobile. |
Beta Was this translation helpful? Give feedback.
-
Copy from Reddit, very insightful, https://www.reddit.com/r/rust/comments/uqr1nq/tauri_or_flutter_for_rustdesk_desktop/i8szbvv/?context=3
|
Beta Was this translation helpful? Give feedback.
-
I am voting Tauri for the following reasons:
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
In addition to the very positive comments for both approaches, what you will also find in the Tauri community, is that people there are very accessible and helpful. Not only does the core team gladly review and accept PRs - we also actively adopt upstream projects in order to maintain them so that Tauri and the broader open-source community can continue growing. But again, both are solid choices. Maybe the things that resonated the most, are:
|
Beta Was this translation helpful? Give feedback.
-
I have an entire set of blog articles on Tauri, Flutter and other cross platform technology bases starting here https://fluentreports.com/blog/?p=1288 -- however for those who don't want to read an entire book. 😀
If your only two choices are Flutter and Tauri, imho, Flutter is the significantly (& I seriously mean significantly) safer choice, even though I'm personally not a big fan of Flutter. As much as I don't like Electron apps, Electron is also a much better choice than Tauri because the Browser is the exact same fixed engine version for all platforms, which then eliminates a entire class of web compatibility complexity that Tauri has... |
Beta Was this translation helpful? Give feedback.
-
under what kind of use case? AFAIK, Tauri does not embed node.js so the memory usage should be much smaller in general. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Fyi, the up-to-date issue for "caret forcing a redraw" is flutter/flutter#33939 and it's already fixed for Android and iOS and was specifically called out in the Flutter 3 announcement blog. Seems likely to be fixed on desktop within a month or two. |
Beta Was this translation helpful? Give feedback.
-
@nothingismagick I'm migrating RustDesk from Sciter to Tauri. |
Beta Was this translation helpful? Give feedback.
-
Try Compose for Desktop too |
Beta Was this translation helpful? Give feedback.
-
Both are good but Flutter seems to be better in my opinion since it natively compiles on every platform and Flutter/Dart is growing. I always prefer if apps that are design for multiple devices to be written in Flutter. |
Beta Was this translation helpful? Give feedback.
-
Is there any ETA or beta release for the flutter rewritten version of the client? |
Beta Was this translation helpful? Give feedback.
-
In a similar discussion with a dev team, someone brought the fact that with Tauri you can use webgl whereas in Flutter the opengl support is very poor. We have the need to also target mobile platforms for the interface of our new project. Does someone has experience with multi-platform development requiring opengl ? At some point in our discussion with the dev team someone also suggested to develop inside Unity or another game engine supporting multi-platforms. |
Beta Was this translation helpful? Give feedback.
-
If someone interested, i'm starting migration sciter -> tauri + react. |
Beta Was this translation helpful? Give feedback.
-
Created an example with Flutter web and tauri: |
Beta Was this translation helpful? Give feedback.
-
Has rustdesk now been fully rewritten in flutter? Is the android, ios, windows, mac, linux and web client for rustdesk now compiled and released as flutter apps? |
Beta Was this translation helpful? Give feedback.
-
Though our open source mobile side is Flutter, but I can not decide either. Our desktop side uses Sciter, similar to html/js. We can use most of old html/js with Tauri. We can also reuse some mobile Flutter code, but our desktop design is super different from mobile. Flutter is not css based, few code can be shared between mobile and desktop per my understanding.
Drawback of flutter:
Debugging rust with Flutter is not conveninent.
Both of them are open source, but Tauri has much smaller code base, we can do code change on Tauri, but it is hard for us on Flutter.
Our final choice is Flutter
1k votes ·
Beta Was this translation helpful? Give feedback.
All reactions