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.
[ Parent
| on HN ]
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.