Do It by Code
54 subscribers
710 photos
99 videos
14 files
1.24K links
We uhhhhh... do things by coding them.
Download Telegram
The leptos web framework
Leptos is a full-stack, isomorphic Rust web framework leveraging fine-grained reactivity to build declarative user interfaces.

- Full-stack: Leptos can be used to build apps that run in the browser (client-side rendering), on the server (server-side rendering), or by rendering HTML on the server and then adding interactivity in the browser (server-side rendering with hydration). This includes support for HTTP streaming of both data (Resources) and HTML (out-of-order or in-order streaming of <Suspense/> components.)

- Isomorphic: Leptos provides primitives to write isomorphic server functions, i.e., functions that can be called with the โ€œsame shapeโ€ on the client or server, but only run on the server. This means you can write your server-only logic (database requests, authentication etc.) alongside the client-side components that will consume it, and call server functions as if they were running in the browser, without needing to create and maintain a separate REST or other API.

- Web: Leptos is built on the Web platform and Web standards. The router is designed to use Web fundamentals (like links and forms) and build on top of them rather than trying to replace them.

- Framework: Leptos provides most of what you need to build a modern web app: a reactive system, templating library, and a router that works on both the server and client side.

- Fine-grained reactivity: The entire framework is built from reactive primitives. This allows for extremely performant code with minimal overhead: when a reactive signalโ€™s value changes, it can update a single text node, toggle a single class, or remove an element from the DOM without any other code running. (So, no virtual DOM overhead!)

- Declarative: Tell Leptos how you want the page to look, and let the framework tell the browser how to do it.


- GitHub: leptos-rs/leptos
- Picture's source
- Examples
- API Docs

#rust
Dioxus

Fullstack app framework for web, desktop, mobile, and more.

- Cross-platform apps in three lines of code (web, desktop, mobile, server, and more)
- Ergonomic state management combines the best of React, Solid, and Svelte
- Type-safe Routing and server functions to leverage Rust's powerful compile-time guarantees
- Integrated bundler for deploying to the web, macOS, Linux, and Windows


- GitHub: dioxuslabs/dioxus
- Docs: https://dioxuslabs.com/

#rust #native
microsoft/edit

A simple editor for simple needs, written in Rust.

This editor pays homage to the classic MS-DOS Editor, but with a modern interface and input controls similar to VS Code. The goal is to provide an accessible editor that even users largely unfamiliar with terminals can easily use.


#editor #rust
The Qt Company just released official Rust bindings for Qt. ๐Ÿฆ€

qtbridge-rust lets you write Qt Quick (QML) UIs with a pure Rust backend, no C++ required.

What this means:
โ†’ QObject, signals, slots, and properties via Rust attribute macros
โ†’ Built on CXX : safe Rust/C++ interop under the hood
โ†’ Tokio integration : async Rust works natively
โ†’ Released directly from the qt org on GitHub

Qt runs everywhere : embedded, automotive, industrial, desktop. That entire ecosystem is now accessible from pure Rust without touching C++.

๐Ÿ”— http://github.com/qt/qtbridge-rust

#Rust #RustLang #Qt #GUI #Embedded #OpenSource #Automotive #SystemsProgramming

Posted by ayush๐Ÿ”ฎ๐Ÿ‘จโ€๐Ÿ’ป๐Ÿ”ฎ, 21 hours ago