|
|
|
|
|
by p-e-w
895 days ago
|
|
> If you are using python, you have no chance. Of course you do. Every special-case multiplication algorithm you might need already has an optimized implementation that you can just `pip install`, and move on with what you're actually working on. The whole scientific computing world runs on Python. Straightforward numerics code using NumPy tends to murder C/C++ code in regard to performance, unless that code is written by people who make a living hand-optimizing computational routines. |
|
If you ignore the majority of scientific code running on supercomputers doing most of science in C++ and Fortran.
Even in areas where python is used, the majority of the compute runs on C/C++/Fortran, with a little python as glue.
If you think numpy (written in c/c++) murders c/c++ code, you should learn about HPC, where really high performance happens. They don't use numpy.