News for hackers. Stuff that matters.
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)
Re:Seed – A Rust front-end framework for creating fast and r... by brundolf on Friday September 17, 2021 @04:04PM (#28570290)
Nice, good info. v0.5 (currently in RC) is the stable/async version mentioned. Excited to see the benchmark get updated for that version.