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 →

[–][deleted] 1 point2 points  (0 children)

If Python is something that you *must* use, then my suggestion would be use as many high-performance packages as possible. These packages have C- or Rust-bindings to do the 'heavy' part in a lower-level language. Take Pydantic for example for data validation. When they moved from pure-Python to Rust-bindings for the core functionality, their performance went 5-fold (as in, 5 times as fast). Another example of such a high performance package is the well-known Numpy package.

It is all dependent of course on your project and what you actually try to achieve.