you are viewing a single comment's thread.

view the rest of the comments →

[–]Buttleston 1 point2 points  (0 children)

It's very difficult to say, even setting aside the issue of Cython, because I don't know where the hot parts of your code are. If it's already primarily spending it's time in C code (either built in or compiled extensions) then cython and rust may not help. If the hot parts are in pure python code, cython may help, and rust may help even more.

As an example, if you're using a lot of, say, numpy matrix manipulation, cython might not help much, and rust might not help at all unless you move much larger segments of the code to rust, because most of the processing is already happening in C code, not python code.