3 ms·
> As for array bounds, it should work so long as you don't access out of bounds, and you can do that by making sure you know what you're accessing. It's not tha
by pcwalton 10y ago
> As for array bounds, it should work so long as you don't access out of bounds, and you can do that by making sure you know what you're accessing. It's not that hard
Judging by the flood of out of bounds array accesses in shipping code over several decades, actually it is pretty hard to consistently get it right.
> even if you want, you can get your compiler to tell you when you do out of bounds access at runtime.
At the cost of making your program slower than Java. So at that point why not use a memory safe language?