Threads (@anonymous_deadbeef)
dev-tools
Original source

Dioxus — Rust 全平台 App 框架(Web + Desktop + Mobile 單一 Codebase)

Summary

Dioxus 是 Rust 的全平台 app framework,一套 codebase 同時建 web、desktop、mobile 應用。

特點

  • 單一 Rust codebase → Web (WASM)、Desktop (native)、Mobile (iOS/Android)
  • Hot reloading
  • Reactive state management
  • Native performance
  • React-like virtual DOM 架構(寫法類似 React/JSX)
  • SSR 支援
  • Fullstack capable

定位

Rust 版的 React Native / Flutter — 但用 Rust 的性能優勢。適合想用一套語言覆蓋全平台、且重視性能的開發者。

評論

  • “Nice and sometimes it works well, but might not be suitable for all projects” — 成熟度仍在發展中