3 ms·
It depends on your use case. In my experience the reason why you wrote something in python (implement features faster) remain valid reasons later on when you w
by ma2rten 11y ago
It depends on your use case.
In my experience the reason why you wrote something in python (implement features faster) remain valid reasons later on when you want to add functionality.
By using pypy, cpython, rewriting small parts in C/C++ and/or using the libraries which are written in C (such as numpy) you can normally make the hotspots in your code fast enough, while keeping the advantages of python.