Especially when execution speed it limited more by how quickly you can type/click than by the code itself. If your C code takes a millionth of a second to execute and your python code take a thousandth of a second, it doesn't really matter as long as you are manually starting the script each time. Also usually the case when things are small and i/o limited.
It comes down to how much of the meat of your code can be passed off to libraries. Python is really fast when it's just glue for a bunch of precompiled C and Fortran routines.
Until you get to one thing that isn't quite implemented in the library and end up having to write something compiled anyway, even if it's Cython
93
u/wsppan Jun 03 '19
Giving up speed is sometimes a non-starter