Why Fortran is slow in the julia benchmark “rand_mat_mul”?
Benchmark test results on the home page of Julia ( http://julialang.org/ ) shows that Fortran is about 4x slower than Julia/Numpy in the "rand_mat_mul" benchmark. I can not understand that why fortran is slower while calling from the same fortran library (BLAS)?? I have also performed a simple test for matrix multiplication evolving fortran, julia and numpy and got the similar results: Julia n = 1000; A = rand(n,n); B = rand(n,n); @time C = A*B; >> elapsed time: 0.069577896 seconds (7 MB allocated) Numpy in IPython from numpy import * n = 1000; A = random.rand(n,n); B = random.rand(n,n); %time