Python has taken the world by storm, and it’s now perhaps the worlds most poplar programming language. Python and its runtime CPython is not the most efficient platform for performing computations, and it doesn’t need to. Efficient Python programs use native Python extension modules to do the number crunching and other tasks that requires high performance.

Creating the glue between Python and natively compiled code can be tedious, but fortunately the are tools like Cython that greatly simplifies the process and makes it less error prone.

Another option is to use the boost.python C++ library.

For rust interoperability there are PyO3, which can be used to write a native Python extension module in Rust, or to embed Python in a Rust binary.

There exists an extraordinary amount of Python packages, that can be used to perform most development tasks.