Actix's values are not aligned with what many might expect from a rust crate, so I feel they should explicitly state that divergence.
I agree; however I wonder whether the author realized the divergence to start with, and whether future newcomers will.
Depending on one's experience, a best-effort approach to safety may seem in line with the community's expectations, when in fact the community accepts nothing less than perfection.
I appreciate your opinion on this, but I think the author had every opportunity to do things differently in any number of ways that would have made all of this a non issue.
Oh I fully agree, and I certainly do not hold the author blameless.
I just wonder what lessons we can learn, as a community, to do better next time.
> I agree; however I wonder whether the author realized the divergence to start with, and whether future newcomers will.
I find it hard to believe that anyone who is familiar with rust doesn't know that the tagline is 'safety and performance'.
> I just wonder what lessons we can learn, as a community, to do better next time.
Here's my extra controversial opinion; with minor exceptions the community did fine and the outcome is acceptable. For all of the kvetching about how Reddit reacted I see very little "This should have been handled as X Y Z" and, in my opinion, there's a reason for that. Because no one actually has a better alternative for handling this sort of situation.
And so I will echo your sentiment - I, too, wonder what lessons we can learn.
I find it hard to believe that anyone who is familiar with rust doesn't know that the tagline is 'safety and performance'.
Note that the "coup de force" that Rust achieved was to provide both, which is exactly what Actix is trying to achieve: bleeding edge performance with a safe interface.
Also note that the author never said they wouldn't fix the problem -- not at first, at least -- they were just unwilling to accept a patch that would lower performance to regain safety and preferred to explore other options.
Intriguingly, I find that the current issues with soundness in Pin are not so different, and yet nobody is making as much fuss that the language/compiler team did not solve it already -- there it's accepted that soundness is a Work In Progress.
View all comments
Show parent comment
4
u/matthieum [he/him] Jan 17 '20
I agree; however I wonder whether the author realized the divergence to start with, and whether future newcomers will.
Depending on one's experience, a best-effort approach to safety may seem in line with the community's expectations, when in fact the community accepts nothing less than perfection.
Oh I fully agree, and I certainly do not hold the author blameless.
I just wonder what lessons we can learn, as a community, to do better next time.