|
|
|
|
|
by mehrdadn
2230 days ago
|
|
> Well arrays are bounds checked by default in Rust, so you can't do that one. But that's my entire point. If you're observing a benefit here, it's decidedly not due to the wrap-around, but due to other features (like bounds checking), and the argument should be that those features make Rust better than C++. It seems strange to give praise to the multiplication wrap-around instead. |
|