On Sun, Mar 21, 2021 at 07:16 PM, Jack, W8TEE wrote:
Any idea of the runtime difference between C and Python on an MS Win10 machine?
Python is very popular with the data science and math crowd. Rather than trying to figure out how to process a multidimensional array of something, with the nested "I, J, K..." loops bogging things down. Anytime you are thinking of nested loops that have something to do with math, image or signal processing and such, you just think about how can I organize this as a matrix math process and pass it off to the NumPy math library. Or a more specialized library, such as AI or advanced image processing. The Python code is basically glue to pass the results around (often big blocks of data that Python has no need to process byte by byte), do some file I/O, make the results look fancy and I guess decide when the program should stop.?
However, there are some "Just in Time" complier versions of Python, if you want more speed and don't want to code parts of your process in C++.
Tom, wb6b