slm
dioxus
slm | dioxus | |
---|---|---|
3 | 155 | |
196 | 18,475 | |
0.0% | 11.2% | |
0.0 | 9.9 | |
over 1 year ago | 6 days ago | |
JavaScript | Rust | |
MIT License | 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.
slm
-
New crate: html - typed html constructors for Rust
Bear in mind that, even in JavaScript, where JSX is a thing, there exist things like Slm which do templating like this:
-
Any web frameworks that could compare to Symfony?
Personally, I'd recommend Maud if you don't need something with runtime reloading. Not only is it much faster, it implements a template language that is effectively the Rust-syntax equivalent to Slim or Haml using a procedural macro, so you get compile-time verification that your HTML output is well-formed.
-
Anyone from a Typescript/React background who tried out Rust for the 1st time?
For templating, Maud is fast, gives compile-time well-formedness guarantees, and outputs minified HTML by default as a side-effect of it being based on Rust macros. (It's of a similar design philosophy to Slim and Haml)
dioxus
-
Dioxus 0.5: Web, Desktop, Mobile Apps in Rust
We have a web components example here: https://github.com/DioxusLabs/dioxus/blob/fd21c971038840130f...
Everything should work like normal except: attributes are not typed, custom event listeners must be implemented with web-sys
- Container2wasm: Convert Containers to WASM Blobs
-
Why Are Tech Reporters Sleeping on the Biggest App Store Story?
I think something like https://dioxuslabs.com could deliver native, cross platform apps and win back mobile.
-
Using Dioxus with Rust to build performant single-page apps
While we took an in-depth look at Dioxus in this tutorial, there is still so much to learn. Luckily, Dioxus provides detailed documentation with references and cookbooks to guide developers. Make sure you check it out, and feel free to comment below with any questions.
-
Package All the Things
You can probably imagine the challenges of integrating such a system in a robust way that does a good job and improves on the status quo. We felt like the Tauri implementation worked well for Tauri apps. But there’s a problem: it was so tightly coupled to Tauri that the work couldn’t be enjoyed by other projects (not even the ones like Dioxus who were using Tauri’s underlying technology of Tao + Wry).
- Show HN: Play Euchre with AI Bots
- Dioxus: Fullstack GUI library for desktop, web, mobile, and more
- Projects to contribute to?
- Ask HN: React Native or Flutter for a new app in 2023?
-
Announcing Floneum (A open source graph editor for local AI workflows written in rust)
Floneum is a graph editor for local AI workflows. It uses llm to run large language models locally, egui, and dioxus for the frontend, and wasmtime for the plugin system. If you are interested in the project, consider joining the discord, or building a plugin for Floneum in rust using WASI
What are some alternatives?
template-benchmarks-rs - Collected benchmarks for templating crates written in Rust
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.
html - Type-safe HTML support for Rust
yew - Rust / Wasm framework for creating reliable and efficient web applications
SoundcoreManager - Control Soundcore headphones with the power of Rust.
leptos - Build fast web applications with Rust.
elm-css - Typed CSS in Elm.
sycamore - A library for creating reactive web apps in Rust and WebAssembly
lewp-rs - Generate your HTML5 website technically optimized and always valid without losing the algorithmic comfort and flexibility.
iced - A cross-platform GUI library for Rust, inspired by Elm
Haml - HTML Abstraction Markup Language - A Markup Haiku
Flutter - Flutter makes it easy and fast to build beautiful apps for mobile and beyond