Hacker News new | ask | show | jobs
by misterio7 1098 days ago
I've worked on the server side with Axum and Rocket; both are pretty nice. I love SQLX to write queries that validate at build time, and had quite a blast using Maud to write HTML within Rust code.

I'd say the type system is awesome to help model your problems and make sure invalid states can't be represente

The biggest drawback is big(ish) compile times/feedback loops; I can get it down to around 2s on a project that builds SCSS and bundles assets within Rust, but it (and any other compiled language, really) can't beat the fast iterations interpreted languages give you.

1 comments

I'd definitively recommend it, though! I think the frameworks are pretty nice, do keep in mind they are all more like microframeworks (think flask, not django). If you like writing Rust code and building your own scaffolding is not something you hate, definitively try it out!