I think Julia is making great progress, I have been following it closely for the last 6 months and I still have to refer to the documentation. The great thing about Julia is that it can take advantage of multicore processors,but the documentation does not keep up with code updates. This is a big turn off for new comers. For example in the Parallel section, such as, drand apparently is not correct. I have tried to use the following: A=drand((10,10,10),3) and get the following error:
no method ref(Int64,Range1{Int64})
in DArray at darray2.jl:31
in DArray at darray2.jl:46
in drand at darray2.jl:130
However if I use A=drand(10,10,10), I get a list of random numbers, which I expected.
Then if I try to execute the following example:
function comp(A::DArray)
B = DArray(eltype(A), size(A), 3)
for i = 1:size(A,3)
@spawnat owner(B,i) B[:,:,i] = sqrt(A[:,:,i])
end
B
end
I get an error:
no method ref(Int64,Range1{Int64})
in DArray at darray2.jl:31
in DArray at darray2.jl:46
in comp at /Users/jim/JuliaSrc/comp.jl:2
I'm using the Dec 13 version of Julia
I have an Imac I5 (4 cores) running OSX 10.8.2 with 16 GB of memory
Is there a location that I'm not aware of that contains updated docs? I hope somebody can give some help with this.
Jim