r/rust • u/ReputationDry5578 • 2d ago
🎙️ discussion Axum: Is 2027 the year of the fullstack rust dev?
I have been toying with axum on the job since a few weeks and why are we still building stuff in node and stuff?
As of today, I have uninstalled npm and unshackled. Rust ftw 🥳
0
Upvotes
15
u/rodyamirov 2d ago
Axum is backend ... yes? And fullstack implies ... frontend?
We use axum in production; while I'm sure you can do something full-featured and "enterprise grade" I have never done so. But it's lovely for a simple server.
But that's not fullstack, is it? You can use rust as a frontend in a browser but it's not that great. I've played with Elm and friends but the "performance benefits" of rust disappear when you're constantly going back and forth from wasm to js to the DOM, and it's pretty clunky. The situation may have improved in the past year or two, but I would be surprised if it's fundamentally better.
3
u/carllerche 2d ago
Axum is not full stack. If you want full stack, check out Topcoat: https://github.com/tokio-rs/topcoat
-5
u/Beregolas 2d ago
No. The vast majority of people won't find rust fullstack to be worth it, because of the steep learning curve and lack of experienced devs for that stack.
If you mean it just became viable, also no: I have been using Leptos + axum for years now, and axum even longer than that.
It's viable for smaller projects and teams, but I am not conviced that frontend specifically is stable enough. (even though I enjoy it and it works great for me)