7 ms·
What in particular are you referring to? I ask honestly, because this "my way or the highway" attitude has never been the Rust community's way.
by moosingin3space 10y ago
What in particular are you referring to? I ask honestly, because this "my way or the highway" attitude has never been the Rust community's way.
- braveo 10y agoTheir approach to overflow, for one.
- moosingin3space 10y agoLast I checked, wrapping arithmetic and checked arithmetic are both supported. What is your complaint?
- the_why_of_y 10y agoIIRC the reason not to detect overflow by default in release builds isn't any variant of "You Just Don't Get It", it's rather "yes we'd like to do that but unfortunately there is a trade-off with a significant runtime performance hit, so we don't, for now".
- braveo 10y agoYou misunderstand me, I think it's folly to have different behaviors based upon debug and release builds. And they'll argue until they're blue in the face why it's a good "compromise", but it would have been better to do one or the other, not both.