114 karma · joined December 4, 2012
edited for typo.
Note that you execute C code anyway when you use Python standard implementation (CPython). Point is to use the best C code you can get with limited effort.
Here is why performance mattered in my case.
I needed to predict future positions of the cyclist (see https://www.ibm.com/developerworks/community/blogs/jfp/entry...). The computation relied mostly on weather forecasts provided for each track points.
I then needed to know where to start my computation, i.e. find the track point closest to the current location of the cyclist.
At first glance, it does not seem to provide an object for dealing with a finite set of points. Using it would require first to transform the track into a continuous line, via interpolate(), then project() each waypoint to find the nearest point on that line. Issue is that this will not give me one of the original points of the track, which is what I needed.
But I may be wrong.
You have a good point about gc and memory layout. That's why I like C or C++ when writing high performance software. You can control memory locality more easily than with other languages.
More seriously, are you unhappy with the default layout of developerWorks blogs? What change do you suggest? Not that I am in any way responsible for it, but I can certainly pipe your suggestions to the power that be.
I made it clear however that I was going to answer a different question: did the Julia team wrote Python benchmarks the best way for Python?
That's all what the post is about: how to run Python code faster.
I will need way more Julia experience to be able to even think about answering the first question. The only thing I am 100% sure is that these micro benchmarks do not help answering that question.
https://lists.swift.org/pipermail/swift-evolution-announce/2...
What would motivate me would be that Pypy supports the packages I need for my day job, including Pandas, Scipy, and Scikit-learn. Do you know if there are plans to have these on top of Pypy?
Let me just clear one thing: I am not trying to represent Julia in any way. I wouldn't be legitimate for that at all. I tried to not write anything negative about the Julia language. Let me know if you think i did, in which case I'll modify my text.
To your point about compilers in charge of speeding up code, I see Numba doing more and more. I hope it will cover all of Python soon.
Please let me know if Numpy is supported now in Pypy. I'd be happy to add Pypy in the mix in that case.
Pypy was not an option either, details in the post now.