Re:Sustainability with Rust
by collegeburner on Saturday February 12, 2022 @12:21PM
(#30314429)
Rust has a mature web ecosystem with actix web. It is almost at a 4.0 release.
[ Parent
| on HN ]
When I looked into Rust for web development I looked at Rocket and Actix web. Rocket seems to be on some kind of hiatus and haven't had any development in months, so that seems like a risky bet. Actix web had some drama two years ago when the founder and lead developer moved the repository and quit. He later appointed a new lead and it seems to do well since then, but it does give cause for concern. Can you build on top of frameworks that so easily can get stale or taken down? Are all of them maintained by single unpaid open source developers? I think Rust looks like a great fit for efficient back end programs, so I want it to succeed.
Re:Sustainability with Rust
by collegeburner on Saturday February 12, 2022 @03:26PM
(#30316048)
Actix had drama and has been community managed for a long time since that. Last time I looked rocket was working toward stability but not there. It's more of a batteries included solution anyway so maybe better for small projects than production stuff, actix has some good flexibility for those.
Ok, so Actix could be considered a good option for a new project?
I liked Rocket's syntax, especially the Requests guards [0] I thought seemed like a good idea, but I haven't really looked that close to either since I never started my project.
[0] https://rocket.rs/v0.5-rc/guide/requests/#request-guards
Re:Sustainability with Rust
by collegeburner on Saturday February 12, 2022 @08:13PM
(#30318103)
Yes I say Actix is an excellent option. It has not as much stuff built-in like Django or Rails or others but if you are not looking for such a framework it is a good option, mature and stable between releases.
Sure, the base is there but for example, there's nothing like Java's itext. That is what devs refers to by immature ecosystem.
Re:Sustainability with Rust
by nesarkvechnep on Saturday February 12, 2022 @12:36PM
(#30314569)
Is there something as featured as Rails, Django or even Elixir's Phoenix?