perseus
uniffi-rs
perseus | uniffi-rs | |
---|---|---|
27 | 26 | |
2,110 | 2,301 | |
0.9% | 2.8% | |
7.6 | 9.5 | |
3 months ago | 4 days ago | |
Rust | Rust | |
MIT License | 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.
perseus
-
Building a Rust app with Perseus
The best part is that it doesn’t use a virtual DOM for its reactivity, which can lead to a significant increase in performance. Perseus not only inherits some of the best aspects of existing web frameworks but also strives to surpass them. Perseus went stable on April 9, 2023 after one year of beta development -- this is just the beginning!
-
Which Web Framework do people recommend for Rust in 2023?
I actually made a small sample project some weeks ago using Axum + Perseus + Sycamore. The purpose was to show, that also unocss was possible instead of tailwindcss. But I recommend tailwindcss for now, because there is an easy to use Perseus Plugin for it. https://gitlab.com/kibsi-perseus-examples/perseus-sycamore-rest-example-unocss But it could maybe be of interest to you. There are also the official Perseus examples: https://github.com/framesurge/perseus/tree/main/examples/core
- Perseus – NextJS alternative in Rust
-
Perseus web framework for Rust
Perseus is a web development framework for the Rust programming language. https://framesurge.sh/perseus/en-US/
-
Capsules, reactive state, and HSR: Perseus v0.4.0 goes stable!
Perseus is a pure Rust web development framework with support for static site generation, server-side rendering, client-side rendering, reactive state, internationalization, capsules (sometimes called an 'islands architecture'), seamless deployment, custom API routes, and so much more! And, after a year of beta versions, v0.4.0 of it just went stable!
- Hey Rustaceans! Got a question? Ask here (8/2023)!
-
What's the state of web dev with Rust?
Personally, I would go for Perseus. https://framesurge.sh/perseus/en-US
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?
MoonZoon - Rust Fullstack Framework
flutter_rust_bridge - Flutter/Dart <-> Rust binding generator, feature-rich, but seamless and simple.
yew - Rust / Wasm framework for creating reliable and efficient web applications
rust-android-gradle
sycamore - A library for creating reactive web apps in Rust and WebAssembly
PyO3 - Rust bindings for the Python interpreter
leptos - Build fast web applications with Rust.
cxx - Safe interop between Rust and C++
percy - Build frontend browser apps with Rust + WebAssembly. Supports server side rendering.
wasmer-go - 🐹🕸️ WebAssembly runtime for Go
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.
glommio - Glommio is a thread-per-core crate that makes writing highly parallel asynchronous applications in a thread-per-core architecture easier for rustaceans.