News for hackers. Stuff that matters.
Re:Correctness and composability bugs in the Julia ecosystem by kazinator on Monday May 16, 2022 @12:59PM (#31400257)
The question is: is it at least as fast in all situations? Was it always that way?

The 1 to length loop just has to initialize a local variable and step it; it cannot do anything else. It doesn't worry about the kinds of array that A may be, with its particular configuration of indexing, right?

You may promote a culture of not doing certain things, but that by itself won't make those things disappear from existing code.

Say you're trying to ship some product and you receive a bulletin from the language mailing list encouraging you, "try not to use @inbounds, it's a hack around a dumb compiler". You know you have that in numerous places; but you're not going to stop what you're doing and start removing @inbounds from the code base. If you're remarkably conscientious, you might open a ticket for that, which someone will look into in another season.

Re:Correctness and composability bugs in the Julia ecosystem by mbauman on Monday May 16, 2022 @01:24PM (#31400615)
> The question is: is it at least as fast in all situations? Was it always that way?

Yes and yes.