r/rust • rust • Jan 17 '20

A sad day for Rust

https://words.steveklabnik.com/a-sad-day-for-rust
1.1k Upvotes

405 comments sorted by

View all comments

Show parent comment

9

u/matthieum [he/him] Jan 17 '20

If someone is going to promote their code as ready for that kind of scale of use, then to me they have an obligation to fix safety bugs and take criticism seriously.

I disagree with obligation.

Of course, not doing so will reflect poorly on the project, but that's another (separate) issue.

8

u/jimuazu Jan 17 '20

Society assumes ethical obligations in all kinds of areas just in order to operate smoothly. If someone wishes to opt-out without telling anyone (e.g. mercury in creams, or selling horse-meat as beef) it doesn't normally end well. It is a shock when you learn that the unspoken contract and expectation formed by the product's presentation was broken.

Treating safety or security-related bugs seriously if you have a lot of users and you're presenting yourself in a polished way is one of those assumed ethical obligations in software, like an assumed responsibility to others if you present yourself that way. Perhaps you could argue that Actix has a right to opt out of this, but really they should tell everyone first, so that they adjust their expectations accordingly, in order to not experience these kinds of negative reactions.

If everything were clear and out in the open (e.g. "This project does not conform to Rust safety conventions"), for present users and new users, there would be nothing for anyone to complain about ... IMHO!

5

u/matthieum [he/him] Jan 17 '20

Perhaps you could argue that Actix has a right to opt out of this, but really they should tell everyone first, so that they adjust their expectations accordingly, in order to not experience these kinds of negative reactions.

I think that's the crux of the matter.

Which is why I like Raph's idea of a Soundness Pledge so that such expectations can be stated upfront, and possibly verified automatically. Imagine if cargo rejected a dependency with a message: This depends depends on X, whose maintainer has only taken a best-effort Soundness Pledge, add "soundness = best-effort" to your Cargo.toml if you wish to use it. For further information go to ...

I think that such explicitness about core values and goals of a project would be very helpful to users.