News for hackers. Stuff that matters.
Re:Julia Computing Raises $4.6M in Seed Funding by dangjc on Thursday June 22, 2017 @12:35PM (#14613431)
I didn't think 1 based arrays would be a big deal, but whenever I try to port code from Julia to almost any other environment (C++, python/numpy, scala, JS), it becomes one of the hardest things to reason about quickly and correctly.
Re:Julia Computing Raises $4.6M in Seed Funding by ScottPJones on Thursday June 22, 2017 @08:38PM (#14616373)
1-based arrays, and column-major layout of arrays annoyed me at first, however, one of the beautiful things is that much of Julia is written in Julia. If you want 0-based (or arbitrary based!) arrays, then simply use the https://github.com/JuliaArrays/OffsetArrays.jl package, and PermutedDimArrays have been added to Base, to handle some of the issues of dealing with row-major (and other sorts of memory layout) matrices.
Re:Julia Computing Raises $4.6M in Seed Funding by moomin on Friday June 23, 2017 @08:25AM (#14618621)
Doesn't this mean that instead you're now dealing with inconsistent data representations?