uniffi-rs
tauri
Our great sponsors
uniffi-rs | tauri | |
---|---|---|
26 | 465 | |
2,237 | 76,213 | |
7.1% | 3.9% | |
9.5 | 9.8 | |
1 day ago | 7 days ago | |
Rust | Rust | |
Mozilla Public License 2.0 | 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.
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?
- 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.
-
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
- 1Password releases Typeshare, the "ultimate tool for synchronizing your type definitions between Rust and other languages for seamless FFI"
tauri
-
Building W-9 Crafter
Tauri seemed like the "thing" I should switch to because everybody loves Rust (heh), and because it ships significantly smaller apps.
-
Tauri + React + ShadcnUI
First of all, I will be using npm as my package manager but feel free to use whatever you prefer. Find more info here.
- Shoes makes building little graphical programs for Mac, Windows, Linux simple
-
Tauri - Rust, Js and Native Apps
Today I'm talking about Tauri! Do you know all the various tools that allow you to develop native applications starting from web languages? They often need an intermediate compilation, in the middle of which you end up encountering various problems not always transparent and directly solvable with a language mostly detached from native development. On the other hand, there's still the ease of developing attractive and easily usable interfaces, which are more difficult to develop with low level languages.
-
Why Bloat Is Still Software's Biggest Vulnerability
I think Tauri is the most established framework using that approach
-
Mozilla's Abandoned Web Engine 'Servo' Project Is Getting a Well-Deserved Reboot
I thought not much: https://github.com/tauri-apps/tauri/issues/579
That issue is four years old. Here is a discussion from last month: https://github.com/tauri-apps/tauri/discussions/8524#discuss... . The two teams are apparently working together.
-
A 2024 Plea for Lean Software
I feel that we would've had better tooling for writing performant GUI apps today if electron JS never took off.
It certainly has its place, and I laud the authors for their efforts, but seeing how every startup is using electron for their native applications, I have little hope for lean software.
At the end of the day, developers need to finance their projects. No other toolchain out there [1] is going to give you the flexibility, development speed, and freedom to develop beautiful looking desktop apps using the muscle memory you trained while writing webpages. Of course, you can write the same application in Qt, GLFW, whatever, but I don't think anyone will disagree that it's much slower to build and prototype responsive UIs with these tools.
[1] Wry and Tauri (https://tauri.app/) might be noteworthy, but I don't know how much of a difference they make, as the runtime is still JavaScript, HTML, and CSS.
-
Ask HN: What's the stack for your "home-cooked meal" apps?
- Desktop/Mobile wrapping: [Tauri](https://tauri.app)
I know building native apps with web technologies is a bit lame since it's a glorified web view on native devices and thus is somewhat limited, but as a web developer this allows me to play in those worlds a bit more.
I've tried to learn Swift/Kotlin but haven't been able to get as far as I have with JavaScript yet.
-
Overlayed: Elevating Your Discord Experience Beyond Gaming
Overlayed is built on the Tauri framework, leveraging the efficiency of Rust programming. This not only ensures a responsive and speedy performance but also highlights Overlayed's commitment to providing users with a cutting-edge and reliable overlay solution.
What are some alternatives?
Wails - Create beautiful applications using Go
neutralinojs - Portable and lightweight cross-platform desktop application development framework
dioxus - Fullstack GUI library for desktop, web, mobile, and more.
Electron - :electron: Build cross-platform desktop apps with JavaScript, HTML, and CSS
egui - egui: an easy-to-use immediate mode GUI in Rust that runs on both web and native
iced - A cross-platform GUI library for Rust, inspired by Elm
capacitor - Build cross-platform Native Progressive Web Apps for iOS, Android, and the Web ⚡️
slint - Slint is a declarative GUI toolkit to build native user interfaces for Rust, C++, or JavaScript apps.
react-native-macos - A framework for building native macOS apps with React.
wgpu - Cross-platform, safe, pure-rust graphics api.
yew - Rust / Wasm framework for creating reliable and efficient web applications
rust-raspberrypi-OS-tutorials - :books: Learn to write an embedded OS in Rust :crab: