I have been using this to build an app[0] for the last couple of years and I want to say that it has been a pleasure to use, there are some wrinkles but overall I have been very happy with the experience. Upgrading from v1 to v2 was not too difficult and v2 is a significant upgrade with lots of useful features, massively improved codegen experience and support for tokio async were the big gamechangers for me. Writing…
Show HN: Rust GUI Library via Flutter
11–20 of 108 posts
Re: Show HN: Rust GUI Library via Flutter
#12While I don't see the advantage of writing UI in Rust vs Dart, I'm a huge fan of flutter_rust_bridge. The work fzyzcjy and the community have put into calling Rust code from Dart seamlessly is such an asset to Flutter apps. I remade the popular image compression app ImageOptim in Flutter over a weekend because webp wasn't supported. After a little pain in the initial setup, I was able to call mature Rust image librar…
Re: Show HN: Rust GUI Library via Flutter
#13Interesting! IIUC this is done using source-to-source translation? It is a bit hard to understand from the docs what technical approach is. The docs are clearly aimed at users and I find them impressive, well done. I'd be interested in knowing the approach and how it compares to wasm based Rust web frameworks before diving more deeply into it. One advantage of combining Rust with Flutter seems to be that Flutter is a…
Re: Show HN: Rust GUI Library via Flutter
#14Why not just use the Chrome render engine directly from Rust?
Why all the extra steps?
Re: Show HN: Rust GUI Library via Flutter
#15Well done! I've heard only good things about rust_flutter_bridge. Some questions though (more like flutter question), how bloated flutter is (i.e. final app size) compared to mobile native (Java, Swift?) for simple app? And how's the UI performance looks like?
Re: Show HN: Rust GUI Library via Flutter
#16How does this compare to rinf?
Re: Show HN: Rust GUI Library via Flutter
#17Isn't Flutter basically a way to use the C++ render engine from Chrome, with a "scripting" language most similar to Kotlin and Swift? Why not just use the Chrome render engine directly from Rust? Why all the extra steps?
See Freya - which uses Skia - the render engine Flutter used until a while back.
Re: Show HN: Rust GUI Library via Flutter
#18How does this compare to rinf?
The first image at the bottom of that post may be related to your question: https://www.reddit.com/r/rust/comments/191b2to/rinf_copies_a... Btw, why is your name green?
> What do green usernames mean? > Green indicates a new account.
Re: Show HN: Rust GUI Library via Flutter
#19Commendable effort! I’m currently using Tauri for a project myself and was wondering if anyone has any pros/cons between the two?
Re: Show HN: Rust GUI Library via Flutter
#20Earlier quoted context omitted.
And then there's also crux [1], which is the same "write your mobile app business logic once in Rust", but instead of Flutter, integrates directly with native iOS/Android/Web UIs [1] https://redbadger.github.io/crux/
Tauri supports mobile platforms too. Sadly, it's not a first class citizen in Tauri 2.0 as promised. I tried both Flutter and Tauri. IMHO: Tauri is better, because it allows me to use existing web frameworks (or even plain Markdown + Pandoc!), to make web-pages, while handling business logic in type safe Rust.