News for hackers. Stuff that matters.
Re:Julia as a unifying end-to-end workflow language on the F... by phkahler on Monday November 20, 2023 @03:27PM (#38354169)
>> What do you mean precisely? Removing @inbounds should never leads to OOB access. The @inbounds macro disables the boundscheck.

Oh, that explains it. I thought it enabled a bounds check that somehow allowed code to run rather than fault. So it is a promise to the compiler that the code is correct and doesn't need checking. Composition with arbitrary bounds silently breaks that promise. Go it.

There are no comments on this comment yet.