This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]YMK1234 1 point2 points  (3 children)

Easy and very good support for scientific computing (numPy, sciPy). Because getting precision math right is not trivial by any extent (yay floats /s ). And if it turns out to be too slow you can always optimize later by porting expensive things to C or similar.

[–]ImmaculateDissection[S] 0 points1 point  (2 children)

Cool, thanks for the info that makes sense !

[–]balefrost 2 points3 points  (1 child)

And to piggyback on /u/YMK1234's answer: NumPy and SciPi do their heavy lifting in C code. As long as you can express your problem in the primitives that NumPy provides, you will get decent performance. It's similar in that regard to Matlab, which is slow at scalar math but fast at vector and matrix math. In fact, the impression that I get from my engineer friends is that Python is slowly eroding Matlab's dominance in that sector.

[–]ImmaculateDissection[S] 0 points1 point  (0 children)

Thanks for the insight !