![actix student version actix student version](https://michaelscodingspot.com/wp-content/uploads/2019/09/stackOverflowSurvey_developerType.png)
I don't know the details of what happened with the complainers and the main dev, but I wonder is that if so many people felt so strongly against some aspect of the project and where technically proficient enough to be certain that those unsafe where unnecessary, why nobody offered patches and if they did and wasn't accepted why nobody forked the project, that's how it works isn't it. Unsafe in the other hand doesn't mean that there are undefined behavior inside, just that the compiler is unable to check for it. So some trust in the developer is still important.
#ACTIX STUDENT VERSION CODE#
I think that there is some general misunderstanding about all the safe/unsafe deal, because some code is safe doesn't mean it can't fail, just say that there is no undefined behavior, your logic can still be wrong, that's why Rust doesn't mean you don't need testing. Like comment: Like comment: 2 likes Thread So I guess that's more of what I mean, unsafe needs to be brought more to the forefront in a way that it shows off great things that unsafe can be used for instead of making unsafe itself the taboo. It's become clear to me from today that at least a good chunk of the community simply views unsafe as a bad thing, which is different from the sentiments I've seen given by the language team that unsafe is as much a language feature as lifetimes are. What I've taken away from the reactions I've read has been that the rust community needs to chill when it comes to unsafe usage, so having it show up as the escape hatch it's meant to be is a good thing. I absolutely think that leaving it up to the developers is important, and feels somewhat related to freedom of expression in some ways. Like comment: Like comment: 2 likes Threadĭon't get me wrong, I wholeheartedly agree that there shouldn't be a specific "One true way." What I understood to be the meaning was just more defined best practices or more examples of when unsafe is okay to use. I know what unsafe means to me, and how I want it handled in my projects, but if that was the "One True Way" and everything else is taboo, we close a door that I feel would be to our collective detriment. If the core Rust team can't agree, I can't really imagine everyone who uses Rust agreeing, and I think that's a good thing. I don't think we should start restricting how people use this core language feature, though, that's a slippery slope. In any language and ecosystem, you should audit your dependencies and actively choose. There are tools available to inspect the code you're bringing in. I love that people can choose to use it to push performance boundaries or explore alternate solutions to problems, even if I might not want that particular crate in my dependency tree. Unsafe is what allows Rust to go head-to-head with C++ & co. I think there are "best practices", but if Rust is to compete against the giants, there really shouldn't be prescribed way of doing things. Photo by James Pond on Unsplash actix (2 Part Series) It was fun trip but now is time to move on.
#ACTIX STUDENT VERSION SOFTWARE#
However you feel about soundness, this is a quality piece of software and a big loss for the Rust community and ecosystem. What do we do about this? What can we do about this, what should we do about this? This is why we can't have nice things, but I really want some nice things. In his conclusion he observes: "The Rust community says they’re nice but they will harass you if you use unsafe wrong." Can we do better? Steve Klabnick says it better than I could. Real technical concerns, and an utter inability to discuss them like everyone involved is actually people. The underlying issue is a legitimate technical concern regarding soundness and unnecessary usage of unsafe in the library, which the maintainer does not perceive as problematic.Įnter Reddit, enter vitriol and toxicity. He's not just done with actix-web, he's done with open-source. He moved it back to a personal account and may delete it entirely.
![actix student version actix student version](https://www.coursehero.com/thumb/61/a3/61a32cb21ef9ae91e56a57d249c1e01c58b3b855_180.jpg)
Sadly, the actix-web maintainer has quit.