3 ms·
Did they write python correctly though? If you vectorize your algos well enough to exclusively use numpy scipy and never use python loops then python is really
by gnulinux 8y ago
Did they write python correctly though? If you vectorize your algos well enough to exclusively use numpy scipy and never use python loops then python is really really fast (not because python is fast but because numpy/scipy is fast)
- x3tm 8y agoExactly. That's why I say that the speed argument is a bit obsolete by now. We can have the best of the two worlds with python! Elegance/simplicity and speed. The focus on the speed of execution also downplays two other important aspects of python: speed of writing code and possibility to visualize results easily. As a theorist these two aspects outweigh any argument in favor of Fortran. The only serious competition to python for me is mathematica.
- TheRealKing 8y agoThe truth is, any language other than Fortran/C is slow for any serious high-performance-computing task (which is not the same as everyday back-of-envelop calculations and plotting).
- atemerev 8y agoNumpy/Scipy are fast, because their backend is written in Fortran :)
- x3tm 8y agoI think if we push this to the limit we would all be writing assembler or making circuits :)