How can we write a massive - fast module for python? I mean how they write a module like numpy that executes heavy pieces of code in python (which is very slow) so fast? Are they using the C/Python API for that matter? Or it's something else?
How can we write a massive - fast module for python? I mean how they write a module like numpy that executes heavy pieces of code in python (which is very slow) so fast? Are they using the C/Python API for that matter? Or it's something else?
Extension can be written in C/C++ with connectors to other python objects and functions.
The official python documentation has a C/C++ API reference