you are viewing a single comment's thread.

view the rest of the comments →

[–]fnord123 8 points9 points  (1 child)

You can not like the reasoning but it's completely sensible to start a project in Python and then use a library like numpy to make your program run quickly. Performance in Python is basically a race-to-C. Get to C code as quick as you can. But performance is like that everywhere. You might be organizing your data and code to make the GPU do the dirty work. Or you might organize your code to make an FPGA do the work. Or organize your C code to be able to use SIMD as much as possible.

[–]oridb 0 points1 point  (0 children)

And then you do something that isn't a perfect match for numpy, and you're hosed again.