News for hackers. Stuff that matters.
Re:Julia v1.0 has been released by chriselrod on Wednesday August 08, 2018 @06:25PM (#17720090)
I know it is not the default, but this package has no overhead over the default arrays according to recent benchmarks, and provides 0-indexed arrays: https://github.com/JuliaArrays/OffsetArrays.jl

I confess, not being the default is a big thing. I've definitely had times where I thought "this would be easier with 0 indexed arrays", but it can then be harder to commit to adding a dependency and making that change vs just adding awkward looking "+1"s to all the indexes. Coming from math/science, there's lots of times 1-indexing makes more sense / is more familiar. It's normal there to start counting from 1, so it can be easier to translate.

Re:Julia v1.0 has been released by phkahler on Thursday August 09, 2018 @08:55AM (#17723767)
It's non uncommon in mathematics to index from zero as well.