Considering Flutter and React as my front ends for Rust - Switching careers

This page summarizes the projects mentioned and recommended in the original post on /r/rust

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • rustpad

    Efficient and minimal collaborative code editor, self-hosted, no database required

  • Rust has great support for web backend, but not as easy as something like Node.js due to a less mature ecosystem of libraries. I've done React+Rust as a stack before (see Rustpad), but this was a very particular use case (stateful network WebSocket service). For most full-stack applications I'd use something like Next.js instead.

  • iced

    A cross-platform GUI library for Rust, inspired by Elm

  • For my point of view the best would be to be able to code front ends in Rust (share structs and functions with back end, prevent code duplication ...). And i also think web front end have big issues with framework dependencies (for example we are switching to Vue 3 and need to rewrite all our components even if the logic still the same). The hexagonal design allow to prevent this kind of issues but it's impossible for front due to actual frameworks. We need to be able to have framework agnostic components, define logic and design without the need to use the Vue, React, Flutter or any framework syntax. So for me the future is on framework that can generate native or WebAssembly app like https://github.com/hecrj/iced or https://github.com/emilk/egui They are not ready for production yet but if the rust community help this lib we can see rust becoming a great language for front end ;)

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • egui

    egui: an easy-to-use immediate mode GUI in Rust that runs on both web and native

  • For my point of view the best would be to be able to code front ends in Rust (share structs and functions with back end, prevent code duplication ...). And i also think web front end have big issues with framework dependencies (for example we are switching to Vue 3 and need to rewrite all our components even if the logic still the same). The hexagonal design allow to prevent this kind of issues but it's impossible for front due to actual frameworks. We need to be able to have framework agnostic components, define logic and design without the need to use the Vue, React, Flutter or any framework syntax. So for me the future is on framework that can generate native or WebAssembly app like https://github.com/hecrj/iced or https://github.com/emilk/egui They are not ready for production yet but if the rust community help this lib we can see rust becoming a great language for front end ;)

  • nativeshell

    Experimental embedder for Flutter

  • GitHub repo: https://github.com/nativeshell/nativeshell

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts