News for hackers. Stuff that matters.
Re:How to Make Python Run as Fast as Julia by mahouse on Tuesday December 15, 2015 @10:21PM (#10742157)
By rewriting Python code into something that does not resemble Python not even remotely, you can make Python code run faster.
Re:How to Make Python Run as Fast as Julia by endrebak on Wednesday December 16, 2015 @02:22AM (#10742857)
Actually, it looks almost exactly the same; you just add a cdef int or long to the fibonacci for example. And using the Python scientific stack (which would likely give you all the speedups you will ever need) _is_ Python and looks like Python.
Re:How to Make Python Run as Fast as Julia by coldtea on Wednesday December 16, 2015 @02:47AM (#10742909)
>not resemble Python not even remotely

So, I don't see where you got that from.

What he did was VERY MINIMAL changes. In some cases a mere annotation.

Re:How to Make Python Run as Fast as Julia by IndianAstronaut on Tuesday December 15, 2015 @11:38PM (#10742420)
True. It's almost the equivalent of using Rcpp with R and saying it runs really fast.
Re:How to Make Python Run as Fast as Julia by Mikeb85 on Wednesday December 16, 2015 @02:34AM (#10742881)
But at the end of the day, it does run really fast. And that's really all that matters.

Rcpp is really nice too, and definitely is a win for R.

Re:How to Make Python Run as Fast as Julia by Nrpf on Wednesday December 16, 2015 @10:43AM (#10744939)
no its not. Rcpp is cpp syntax and semantics. Look at the Numba example..its pure python with one decorator.