rust-web-framework-comparison
hackernews-sauron
Our great sponsors
rust-web-framework-comparison | hackernews-sauron | |
---|---|---|
12 | 11 | |
4,729 | 113 | |
- | - | |
5.7 | 3.2 | |
3 months ago | 12 days ago | |
Rust | Rust | |
- | MIT License |
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
hackernews-sauron
-
Statically embed the output of a wasm crate in another crate
I did the same thing in a hackernews clone, except it is using sauron, instead of yew. I think yew is using trunk, which create and generate a files named with hashes, so it changed everytime the files are built. I use wasm-pack to build the wasm and the glue js file, which doesn't changed every build. So it is easy to just embed and serve them server side.
- [META] Like Rationalists Leaving A . . .
- Minimal docker image for Rust app
- This is the most resilient, fastest, snappiest, and cleanest hackernews clone you will ever see.
-
Easiest to work with web framework?
I can vouch for warp, the experience has been smooth so far, no crashes. The url route might be a bit not intuitive at first, but comes easier the more you use it. Here is a port of hackernews I wrote using all rust stack.
-
Rust web frameworks, a new look? (discussion)
I'm the author of sauron web framework and it has the capability of progressive server-side rendering as demonstrated in one of the examples. There is also a demo app which is a clone of hackernews which is built to be resilient in the event of failure in either the javascript or the server. It is extensively used in svgbob, which has been adopted as plugin for other projects such as asciidoctor and krokio.
-
Rust developing in Belgium
There is an example project which demonstrate its fullstack capability.
- Show HN: A snappy and resilient Hacker News clone in ~1k lines of rust
- [Show] A snappy and resilient hackernews clone in ~1k lines of rust.
- A resilient hackernews clone in ~1k lines of rust.
What are some alternatives?
axum - Ergonomic and modular web framework built with Tokio, Tower, and Hyper
youki - A container runtime written in Rust
routerify - A lightweight, idiomatic, composable and modular router implementation with middleware support for the Rust HTTP library hyper.rs
ultron - Web base text editor written in rust
oauth2-rs - Extensible, strongly-typed Rust OAuth2 client library
DFeed - D news aggregator, newsgroup client, web newsreader and IRC bot
trillium - 🌱🦀🌱 Trillium is a composable toolkit for building internet applications with async rust
rhyme-es
firebase-jwt-auth - Verify and extract data from a Firebase JWT
tealr - A wrapper around mlua and rlua to generate documentation and other helpers
houseflow - Home automation platform made in Rust 🦀.
txrx