What does HackerNews think of actix-web?
Actix Web is a powerful, pragmatic, and extremely fast web framework for Rust.
If you need an example of the rust community being toxic, I give you https://github.com/actix/actix-web
Look up the history and realize they bullied an open source project leader into leaving open source for good.
- Axum https://github.com/tokio-rs/axum (what I'm currently using in production)
- Hyper https://github.com/hyperium/hyper
Positive experiences mostly. If it builds, it'll usually run with no issues. Ecosystem is mature enough for large production apps.
Both of them are used and exposed publicly by numerous companies, so ootb they good enough for any API. For 99.999% percent of people both are performant enough. Rust will win on memory usage, in some cases significantly, and will win on performance by a smaller margin, but run your own benchmark.
This is an interesting article about why npm uses Rust instead of something else: https://www.infoq.com/news/2019/03/rust-npm-performance/
>performance of the framework is very important
No, its not. Whatever you do with it, will be 100-1000x slower than what framework does. Making decision on something that takes 0.01% of time spend on request handling makes no sense. Optimize your code and data sources, don't worry about framework,
> Also why do you prefer that language?
Tons of modern features. Algebraic data types (this eliminates null-pointer errors completely, which you can't say about Go), generics, borrow checker, pattern matching, macros, general focus on correctness of your code. All of that composes nicely and allows to produce correct and readable code.
But still, rocket is pretty great. Implementing an endpoint is as simple as a few lines and great integration with serde as well as diesel means you can integrate pretty quickly.
"That odd, that project is dead now. Why release something dependent on it?"
But then I went to the actix-web git repo and low and behold it is not dead.
Then scratching my head, I re-read this post from my history:
https://words.steveklabnik.com/a-sad-day-for-rust
Clearly stating the actix-web project was dead and I recall going to the link in the article to: https://github.com/actix/actix-web that had a post from the maintainer stating that the project was dead.
Anyone know what is going on with this project?
Respent for every maintainer and contributor, it's not easy. You can read some issues in the repository, the authors of some issues are just complaining or criticizing the idea or bug, it's unfair and rude. in the end, hurt maintainer's passions. Every developer should know it and respect it like the README or guideline before posting issues or comments.
It's a fantastic post about the analysis of OSS maintainer, Respect for Mr. Gallant.
https://github.com/actix/actix-web
Edit: I was not aware he moved it under his personal github account and it’s still accessible. Nonetheless, I still think removing it is a bit extreme.
What was the patch? It was very strait forward, simple, uncreative change, intention was just to remove unsafe not to fix existing code. I believe software development is one of the most creative work we do, and creativity is part of why we love software development, why it is fun. Especially if you combine it with real world projects constraints. “creative constrains” could be source of very interesting solutions. Being on the edge of your abilities is super fun. So uncreative change felt boring https://github.com/actix/actix-web
Just because there’s a patch that fixes the issue doesn’t mean the maintainer has to merge that patch.