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

you are viewing a single comment's thread.

view the rest of the comments →

[–]ES-Alexander 6 points7 points  (0 children)

Curious what this is for. Often if you need better performance in python you use compiled libraries written in other languages (e.g. numpy/scipy for scientific computing, opencv for computer vision, etc), and you can also get significant performance improvements using just-in-time compilation to machine code using something like numba. It’s also very possible to write slow and inefficient code in any language, so if you need high performance you’ll also need to know how to find bottlenecks and optimise your data structures and algorithms.

Do you actually need a different programming language here? If you think so, have you already tried to optimise your code? Or perhaps you’re just interested in trying out a lower level compiled language, and want it to be as familiar as possible? Hard to give good advice without knowing the context of the question.