Re:Seed – A Rust front-end framework for creating fast and r...
by ggregoire on Friday September 17, 2021 @04:58PM
(#28570821)
Digging up the topic, I also found this new framework https://github.com/tokio-rs/axum, which already seems to be popular.
Sentry is rewriting some of their libs from Actix to Axum: https://github.com/getsentry/symbolicator/commit/b6ef7cb00b7...
Re:Seed – A Rust front-end framework for creating fast and r...
by agersant on Friday September 17, 2021 @02:32PM
(#28569188)
Iron is very much abandoned, I would not recommend it. I agree Actix and Rocket are the more common picks!
Re:Seed – A Rust front-end framework for creating fast and r...
by brundolf on Friday September 17, 2021 @02:38PM
(#28569275)
Got it. I knew Iron was kinda being phased out due to stuff like not having async/await, but I didn't know it had gone so far as being "abandoned".
Re:Seed – A Rust front-end framework for creating fast and r...
by ggregoire on Friday September 17, 2021 @03:05PM
(#28569642)
Actix is #5 on techempower.com/benchmarks, that's impressive!
Re:Seed – A Rust front-end framework for creating fast and r...
by Zababa on Friday September 17, 2021 @03:16PM
(#28569778)
And Rocket is surprisingly slow. Is this because it's not async yet?
Re:Seed – A Rust front-end framework for creating fast and r...
by brundolf on Friday September 17, 2021 @03:20PM
(#28569826)
It is higher-level than actix, though it's still surprising to see it as low as it is. I'm curious what the story is there too. It is significantly higher than Express and Flask, though it's lower than raw NodeJS and PHP.
I guess maybe these benchmarks only test the overhead of the framework itself, and ignore the benefits of having your business logic and middleware written in a faster language? The tests for node and PHP would pretty much only be running battle-tested native code if that's what's going on
Re:Seed – A Rust front-end framework for creating fast and r...
by tempest_ on Friday September 17, 2021 @05:36PM
(#28571180)
Rocket prior to 0.5 was not async and thus does not really preform well in those benchmarks.
0.5 however is async and is currently in rc, when it is released I would expect it to climb up the list a little bit.
Re:Seed – A Rust front-end framework for creating fast and r...
by Zababa on Saturday September 18, 2021 @06:36AM
(#28575093)
Is there info on when the 0.5 is supposed to be released? I don't see anything on the Github except that the only issue left on the 0.5 milestone is updating the readme.
Re:Seed – A Rust front-end framework for creating fast and r...
by ggregoire on Friday September 17, 2021 @03:46PM
(#28570147)
Some comments about it here: https://news.ycombinator.com/item?id=26069195
Iron and Actix are the more established but more complicated ones
Edit: According to a reply, Iron is considered abandoned