News for hackers. Stuff that matters.
Re:Julia 0.5 release by nimrody on Monday September 19, 2016 @11:44PM (#12536883)
Pascal and Ada don't usually use their arrays as matrices in mathematical expressions. Julia is targeted at people using Matlab.

How do you multiply two matrices that use different indexing? Ignore the indexing differences?

It's also problematic when different libraries use different conventions (0-based vs 1-based). Can you use the output of one such library to feed another?

Re:Julia 0.5 release by yaantc on Tuesday September 20, 2016 @07:57AM (#12538797)
Ada has the notion of attributes applying to types and variables, to access related properties. Among those, there are attributes to get the starting and ending indexes of an array. So it's possible to program completely generic array processing, independent of the underlying choice or range for the array. All this from memory, and it's been a long time...