[julia-users] Re: Why Julia is not faster than Matlab ?

2015-06-13 Thread colintbowers
Given the wording of your question, it seems highly likely that you are user4905479 from StackOverflow (see http://stackoverflow.com/questions/30728371/why-julia-is-not-faster-than-matlab). As you were advised there, you will need to post your code if you want to progress your understanding.

[julia-users] Re: Why Julia is not faster than Matlab ?

2015-06-12 Thread yuuki
Without a specific example it's hard to say anything. Matlab can be faster for some cases, but Julia should be faster in many cases, if you write your code correctly.

[julia-users] Re: Why Julia is not faster than Matlab ?

2015-06-12 Thread Andreas Lobinger
Hello colleague, you already gave the answer yourself: *Because all the programs that i implement are faster in Matlab than in Julia.* you just need to write faster julia programs (OK, that's not very helpful...). Although there are fast and slow computers there isn't the equivalent of fast

Re: [julia-users] Re: Why Julia is not faster than Matlab ?

2015-06-12 Thread Tim Holy
In particular, if all your code is basically: C = A*B U, S, V = svd(C) result = V'*x then it's also the case that Julia will not provide any kind of special benefit---Matlab is just as good as Julia at linear algebra and a few other operations, as both simply call out to other

Re: [julia-users] Re: Why Julia is not faster than Matlab ?

2015-06-12 Thread Spencer Russell
There are a bunch of useful tips for making your Julia code faster here: http://docs.julialang.org/en/release-0.3/manual/performance-tips/ There tends to be a lot of discussion on the list on relative performance between Julia and other languages, and the core team keeps track of performance

Re: [julia-users] Re: Why Julia is not faster than Matlab ?

2015-06-12 Thread Stefan Karpinski
By far the most likely issue is that you're doing everything in global scope. The next most likely problem is that you have some type stability/predictability issues. And of course, it's always possible that you have code that Matlab is really fast at; for some problems it's not possible to do