Our great sponsors
-
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.
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.
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 ;)
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 ;)
GitHub repo: https://github.com/nativeshell/nativeshell