Relm4
uniffi-rs
Our great sponsors
Relm4 | uniffi-rs | |
---|---|---|
9 | 26 | |
383 | 2,293 | |
- | 5.6% | |
9.5 | 9.5 | |
about 2 years ago | 7 days ago | |
Rust | Rust | |
GNU General Public License v3.0 or later | Mozilla Public 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.
Relm4
- #31 Bit Windy · This Week in GNOME
-
Does Rust have a React-like GUI framework? If not, why not?
Relm4 is the newer version for GTK4 https://github.com/AaronErhardt/relm4
-
Pop collaboration with Relm4 / Writing GTK applications for Pop
[dependencies.relm4] git = "https://github.com/AaronErhardt/relm4" branch = "new-approach" [dependencies.relm4-macros] git = "https://github.com/AaronErhardt/relm4" branch = "new-approach"
-
GTK language bindings, GObject over native classes?
Probably, many gtk-rs devs have used C before and also GObjects can give you more control in some cases. But for the most part you will be fine using idiomatic Rust with something like Relm4.
-
Got a few questions for those who are daily drivin the PinePhone
As for writing apps, I've been enjoying Rust + Relm4 (https://github.com/AaronErhardt/relm4), but it might be easier to start off with Python or Vala and GTK or similar. A lot of gnome apps are Python. This looks like a good way to get started: https://www.gtk.org/docs/language-bindings/python/
- Gtk4 Tutorial
-
Whats your favourite open source Rust project that needs more recognition?
relm4 - like relm, but for GTK4
-
Recommended Rust GUI Libraries
Creator of [Relm4](https://github.com/AaronErhardt/relm4 here. Of course I might be a bit biased but I honestly think Relm4 has currently the best cross-platform and full-featured GUI experience for Rust programmers :)
-
What's everyone working on this week (29/2021)?
I'm working on relm4, an new version of relm using gtk4-rs
uniffi-rs
-
Opaque Types for UniFFI
On my youtube series "Growing up Rust", I'm building a personal CRM in Rust with a Swift frontend. I'm using CQRS and an event-driven architecture with the least amount of swift as possible. I'm using UniFFI to generate the bindings for swift (and in this example python)
-
Willow Protocol
Not officially. We currently have bindings for rust, python, golang and swift.
These were the most asked for bindings (python for ml, golang for networking and swift for ios apps).
We are using uniffi https://mozilla.github.io/uniffi-rs/
Would you need C or C++ bindings?
- UniFFI: Automatically generate foreign-language bindings for Rust libraries
- Compiling Rust for .NET, using only tea and stubbornness
-
Show HN: Pip Imports in Deno
An alternative is metacall. The example in the readme is about calling Python from Javascript, but it also works with other languages, like Ruby, C#, Java, and other languages
https://github.com/metacall/core
List of supported languages here https://github.com/metacall/core/blob/develop/docs/README.md...
In the future, maybe webidl (or extensions of it) will bring interoperability between languages too. At the moment there is https://mozilla.github.io/uniffi-rs/ for interoperability between Rust and a number of languages (basically the ones mozilla needs: Swift, Kotlin, Javascript)
-
ffizz: Build a Beautiful C API in Rust
The tooling for the first kind -- calling Rust from another language -- is a bit less developed, and tends to rely on code generation that doesn't necessarily produce a natural C API. cbindgen, uniffi, cxx, and Diplomat all take this course.
-
macOS Apps in Rust
Mozilla's uniffi-rs is really good. You write a common IDL and the bindings are generated automatically.
https://github.com/mozilla/uniffi-rs
-
Write SDK “base” in Rust, wrap in other languages?
At Mozilla we built a multi-language bindings generator: https://github.com/mozilla/uniffi-rs/
-
An experiment in the Rust compiler to begin devising a new cross-language ABI that's higher-level than the C ABI, with the goal of safer and easier FFI
Is there a connection with Mozilla UniFFI ?
-
Tauri now supports Android/iOS in the 2.0 branch!
Rust <> Swift/ Kotlin works very well with uniffi-rs by Mozilla: https://github.com/mozilla/uniffi-rs
What are some alternatives?
Native Windows GUI - A light windows GUI toolkit for rust
flutter_rust_bridge - Flutter/Dart <-> Rust binding generator, feature-rich, but seamless and simple.
gtk - DEPRECATED, use https://github.com/gtk-rs/gtk3-rs repository instead!
rust-android-gradle
relm - Idiomatic, GTK+-based, GUI library, inspired by Elm, written in Rust
PyO3 - Rust bindings for the Python interpreter
egui - egui: an easy-to-use immediate mode GUI in Rust that runs on both web and native
cxx - Safe interop between Rust and C++
Gtk4-tutorial - GTK 4 tutorial for beginners
wasmer-go - 🐹🕸️ WebAssembly runtime for Go
QML-rust - QML (Qt Quick) bindings for Rust language
glommio - Glommio is a thread-per-core crate that makes writing highly parallel asynchronous applications in a thread-per-core architecture easier for rustaceans.