flutter_rust_bridge
druid
Our great sponsors
flutter_rust_bridge | druid | |
---|---|---|
52 | 59 | |
3,537 | 9,328 | |
- | 0.7% | |
10.0 | 4.0 | |
2 days ago | about 2 months ago | |
Dart | Rust | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
flutter_rust_bridge
-
flutter_rust_bridge VS rinf - a user suggested alternative
2 projects | 17 Jan 2024
-
plugin system for a flutter app
Use some sort of executable file, like webassembly. I've seen extism which is really cool. Though theres no dart port for it or a dart package, i think something could be done via flutter_rust_brige. This will allow people to use the languages supported via extism (js, go, rust, zig, cpp etc) to their full potential and have the language's ecosystem available and they can just compile the plugin to a wasm file and use it in the app. Downsides would be ig using that rust package in dart since flutter_rust_bridge does have some amount of complexity. And that for example, two plugins both written in say for example js, depend on some sort of http package, and both plugins load the same package twice in their respective wasm files. ig plugin files would be more larger in the end.
-
Show HN: Slint - A Declarative UI Toolkit Written in Rust for Embedded & Desktop
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.
-
`flutter-rust-app-template`: This template provides instant capabilities to developers who want to embrace the power of Rust and Flutter together.
This template is primarily built using the flutter_rust_bridge library. It also incorporates several popular packages and modifications into the default Flutter template, ensuring optimal development process. It has been designed with future scalability and performance in mind.
-
Anybody doing multithreading wasm controlled by rust?
If you want example code, the flutter_rust_bridge uses a webworker pool with shared memory on the web to multithread the execution.
-
I need a GUI framework that can do the following!
There's also the thing that flutter_rust_bridge is currently broken for web development. I have a PR open, but it's running into weird issues with the CI and so can't be merged.
-
Is it possible to build a gui which is both cross compatible and native?
For reference, https://github.com/fzyzcjy/flutter_rust_bridge. And dart is a really nice language too, my only real gripe is that I'm no longer used to [type] [variable] over [variable]: [type]
-
Slint 1.0: The Next-Generation Native GUI Toolkit Matures
https://github.com/fzyzcjy/flutter_rust_bridge (Fixed your href)
-
I’m working on a prototype for a tool that visualizes intra-project dependencies between the source files of a Dart project.
It appears that this is indeed what was happening. The issue has now been fixed in the template.
- no good UI toolkit/framework
druid
-
What can rust do
For GUI applications, the story is mixed. There are several GUI frameworks in active development, but nothing as polished and battle-tested as Electron for TypeScript. There are bindings to GTK, but they're cumbersome to work with, and I wouldn't recommend it to a Rust newbie. There's also Tauri, which is a bit like Electron and lets you write the GUI in HTML/CSS/JS and the business logic in Rust.
-
Do Rust and Lua work well together?
Concerning GUI frameworks, the most common ones are druid, egui and iced. All three of them run native and on the Web.
-
What was the hardest coming from C++ to Rust?
Going to give a shoutout to druid. I've recently tried it with the Lapce editor and it's just so smooth, fast and works so well for a pre-alpha app.
-
What GUI libs are out there and good to use?
As iced and egui were difficult for me, i started with druid.
-
Rust GUI framework
There is Iced which is used by system76 in Pop!_OS, Druid [DISCONTINUED], GTK-rs, Relm, Azul and Tauri. Personally I would use Tauri for its speed using the OS's native web render, documentation of use with things such as Sveltekit and the ability to make UI's using JS, CSS and HTML. Tauri similarly to Electron whilst being far faster. But its up to personal preference really. There aren't any solid "go to" options at the moment.
-
What do people use for simple UI projects?
Druid should be good for most cases, it has a lot of built-in widget for the UI, you can even make a custom widget with a canvas-alike painting API.
-
Druid, a Rust-native UI toolkit, released v0.8 after two years of work by 80 contributors.
Druid, which is a Rust-native UI toolkit for building desktop applications targeting Windows/macOS/Linux/OpenBSD/FreeBSD, has a new version out - v0.8.
-
Dioxus: User interfaces that run anywhere
You can use GTK from Rust. But the Rust native ones aren't really there yet. [Iced](https://github.com/iced-rs/iced) which has been picked up by System76 and [Druid](https://github.com/linebender/druid) (and it's next gen version [Xilem](https://github.com/linebender/xilem)) are the ones to watch, along with Dioxus which is the main post here.
I'd expect there to be something useable by the end of 2023.
-
Are there any good UI/GUI libraries out there?
I'm using egui, and it is easy to pick up, but you might be better served by druid. It's the ui that lapce is built on, so it's definitely capable.
-
Pure Rust GUI Landscape
Druid
What are some alternatives?
iced - A cross-platform GUI library for Rust, inspired by Elm
egui - egui: an easy-to-use immediate mode GUI in Rust that runs on both web and native
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.
gtk - DEPRECATED, use https://github.com/gtk-rs/gtk3-rs repository instead!
uniffi-rs - a multi-language bindings generator for rust
dioxus - Fullstack GUI library for web, desktop, mobile, and more.
bevy - A refreshingly simple data-driven game engine built in Rust
Azul - Desktop GUI Framework
Slint - Slint is a toolkit to efficiently develop fluid graphical user interfaces for any display: embedded devices and desktop applications. We support multiple programming languages, such as Rust, C++ or JavaScript. [Moved to: https://github.com/slint-ui/slint]
Native Windows GUI - A light windows GUI toolkit for rust
slint - Slint is a declarative GUI toolkit to build native user interfaces for Rust, C++, or JavaScript apps.
wxRust - A Rust binding of the wxWidgets cross platform toolkit.