$ account DioxusLabs
Dioxus is a Rust-native, cross-platform UI framework for building web, desktop, mobile, and fullstack applications with a single codebase. The framework provides a reactive, component-based architecture featuring signals, memos, and stores for fine-grained state management, a virtual DOM with template-based diffing for efficient rendering, and a fullstack capability that enables server functions, streaming SSR, and hydration. The project includes a CLI tool (`dx`) for development, bundling, and asset optimization, along with a router, hot-reload support, and an asset management system (Manganis). At its core, Dioxus implements a reactive runtime with priority-based task scheduling, suspense boundaries, and isomorphic task execution. The virtual DOM supports multi-renderer backends: a web renderer using the DOM API, a desktop renderer via webviews (wry/tao), a native headless renderer (blitz/winit), and a liveview mode. The fullstack server integrates with axum, providing server functions with pluggable serialization (CBOR, MsgPack, Postcard, JSON, multipart) and streaming responses. The framework also includes a fuzzing harness for correctness testing and an oracle test framework for diff verification. Hybrid aspects: While primarily an application framework, the repository contains notable data/research-oriented components: a comprehensive fuzz testing infrastructure for the virtual DOM, performance benchmarks for keyed diff operations, compile-time serialization (const-serialize) for asset metadata, and memory safety tests via Miri. These elements demonstrate a strong investment in correctness and performance engineering.