HNHacker News
TopNewBestAskShowJobs

crasta

3 karma · joined March 12, 2014

submissionscomments
crasta··on Python vs Julia – an example from machine learning
@maxerickson I can't reply to you so I'll reply next to you. That looks very interesting. I will have to look into it. Thanks
crasta··on Python vs Julia – an example from machine learning
Have you only seen one benchmark or did you choose such a biased source for trolling?

How I know this graph has nothing to do with machine learning? It has JavaScript listed and JavaScript is on the faster end of the chart.

Do you really expect anyone to believe that a single threaded JavaScript is going to outperform python or R with highly parallel machine learning algorithms?

crasta··on Python vs Julia – an example from machine learning
You can't parallelize a for-loop the way you can apply a function on every member of a vector. If code can be vectorized in Julia, that is what I'm interested in seeing. These samples are obviously not intended for distributed compute. Thousands of CUDA cores sit idle waiting for this synchronous for-loop to finish.
crasta··on Python vs Julia – an example from machine learning
Coming from R, I have to ask... Why am I seeing 'for' and 'while' loops? Why isn't this code vectorized? It looks like both implementations suck.