|
|
|
|
|
by kibwen
1302 days ago
|
|
> The solution which apparently is not implemented in Rust (or LLVM, idk) is to emit code like the following: The solution to what? You appear to be suggesting that compilers should insert bounds checks even when the programmer doesn't ask for them, which, sure, I'm down for that, but the whole point of this discussion is that the bounds checking that currently gets done has a negligible cost in practice. |
|