rust-web-framework-comparison
yew
rust-web-framework-comparison | yew | |
---|---|---|
12 | 201 | |
4,756 | 29,972 | |
- | 0.7% | |
5.7 | 8.3 | |
3 months ago | 8 days ago | |
Rust | MDX | |
- | 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.
rust-web-framework-comparison
- Container2wasm: Convert Containers to WASM Blobs
-
The state of modern Web development and perspectives on improvements
First is the size. Writing a server-side and client-side program is possible with Rust, and the resulting WASM package will be small enough. At the same time, Microsoft Blazor converts C# code to WASM, but the client delivery has to include the reduced .NET runtime, taking several megabytes for a script. The same is true for GoLang, even with an attempt to reduce the runtime delivery in TinyGo WASM. Developers want to work with their favorite languages, whether it is Java, Kotlin, Dart, C#, F#, Swift, Ruby, Python, C, C++, GoLang, or Rust. These languages produce groups of runtimes. For example, JVM and .NET have many common parts, Ruby and Python are dynamically interpreted at runtime, and all mentioned depend on automatic garbage collection. For smaller WASM packages, browser vendors can include extended runtime implementations, for example, by delivering a general garbage collector as part of WASM. Garbage collection support by WASM is currently in progress: WASM GC, .NET WASM Notes.
-
Leptos, a cutting-edge full-stack Rust framework
I'm currently reading up on Leptos and what looks like its major contender, Dioxus [1] in planning for next project. (acknowledging here that Yew [2] is maybe the OG Rust full stack / frontend framework, but I'm not considering it at this time)
Here's a nice comparison of the Rust frontend frameworks: https://github.com/flosse/rust-web-framework-comparison#fron...
Note that Leptos is interesting because it _does not use a virtual DOM_, unlike Yew and Dioxus which are React-like.
We already write our backend in Rust; why not use it for the whole stack and stop worrying about e.g. the Typescript object falling out of sync with the API struct?
[1] https://github.com/DioxusLabs/dioxus/
-
What is the most fully-featured rust frontend framework?
I want to push for using rust & wasm for a small experimental project at my job. I have reviewed the rust web frameworks comparison document, I'd be interested in Yew because I'm familiar with React, and I am interested in Sycamore and Leptos because they are recommended for use in Tauri and I'm personally interested in trying Tauri at some point.
- GitHub - flosse/rust-web-framework-comparison: A comparison of some web frameworks and libs written in Rust
- Rust Web Framework Comparison
-
Web framework
Check out https://github.com/flosse/rust-web-framework-comparison for some options.
-
Rust web frameworks, a new look? (discussion)
The web framework comparison is a good start.
-
Web Development with Rust?
This repository has some nice comparison tables for different web libraries and frameworks: https://github.com/flosse/rust-web-framework-comparison
yew
-
Surprisingly Powerful – Serverless WASM with Rust Article 1
Yew is a framework for creating reliable and efficient web applications. Yew
- Container2wasm: Convert Containers to WASM Blobs
-
Show HN: Game of Life with grid editor in browser with Rust and WASM
I coded up a game of life implementation in rust and web assembly using https://yew.rs/ as an effort to sharpen my rust skills and it resulted as a fun toy. You can find the source here: https://gitlab.com/reedrichards/wvdom Enjoy!
- The best WebAssembly runtime may be no runtime at all
-
Recreating the Apple Calculator in Rust using Tauri, Yew and Tailwind
UI template: Yew - (https://yew.rs/)
- Yew: Rust / WASM framework for creating reliable and efficient web applications
-
Ask HN: If you were to build a web app today what tech stack would you choose?
I'm surprised nobody said they'd use [Yew](https://yew.rs/), especially given the premise of this being for a passion project.
-
Semantics of method which takes Rc<Self> and returns Rc<Self>?
This example shows updating an existing state: https://github.com/yewstack/yew/blob/04909dd942eb64285652d96a2621bdf7be3fa912/examples/timer_functional/src/main.rs
-
Speeding up the JavaScript ecosystem – Polyfills gone rogue
1. Not related to npm, but related to the web.
2. True, but compilers are generally better than transpilers.
3. Have you seen https://yew.rs/ ?
-
Is it possible to create Android apps using Rust?
You could use Yew to write web apps, which can be opened on Android phones.
What are some alternatives?
axum - Ergonomic and modular web framework built with Tokio, Tower, and Hyper
Seed - A Rust framework for creating web apps
routerify - A lightweight, idiomatic, composable and modular router implementation with middleware support for the Rust HTTP library hyper.rs
dioxus - Fullstack GUI library for web, desktop, mobile, and more.
oauth2-rs - Extensible, strongly-typed Rust OAuth2 client library
sycamore - A library for creating reactive web apps in Rust and WebAssembly
hackernews-sauron - A fast, resilient, isomorphic hacker news clone in ~1k lines of rust.
leptos - Build fast web applications with Rust.
trillium - 🌱🦀🌱 Trillium is a composable toolkit for building internet applications with async rust
Rocket - A web framework for Rust.
firebase-jwt-auth - Verify and extract data from a Firebase JWT
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.