4 ms·
> C, C++, Fortran are still used, most Python users just don't see it because it's hidden away underneath the calling function. Yes, the article talks about th
by pdonis 5y ago
> C, C++, Fortran are still used, most Python users just don't see it because it's hidden away underneath the calling function.
Yes, the article talks about this: Python is a glue language and the actual heavy duty computation is being done inside an extension module like numpy that's written in a faster language.
- joshuamorton 5y agoOpenBLAS and LAPACK are mostly Fortran and numpy will use them if present on the system.
- jurschreuder 5y agoA single threaded, not vectorized for loop in c++ runs faster than calling BLAS from Python with Numpy though. The Python glue makes everything slow. For example if you read out the camera in Python using OpenCV you'll get a way lower framerate than if you do the same from c++, even if in both cases you use OpenCV which is c++.