Le jeudi 24 septembre 2015 à 13:31 -0700, Marcio Sales a écrit :
> > Matlab *requires* vectorized code because Matlab loops are very
> > slow by comparison
> It is much faster these days (from R2014). I remember I ran some very 
> simple comparisons and it surprised me that Matlab ran a bit faster 
> than Julia in a for loop of matrices multiplications and inversions. 
> However, I ran the loop from the REPL and maybe there are better ways 
> to do it.
Not "maybe". This is highlighted as the first point of the Performance
Tips section of the manual:
http://docs.julialang.org/en/latest/manual/performance-tips/

It's not fair to expect a language to be an in-place replacement for
another one and yet provide higher performance for free. Any language
requires some experience to get productive at coding. Vectorized
languages like MATLAB and R maybe even more than others.

I feel like this thread has come to a dead end.


Regards

Reply via email to