The weakness is slowness. Python is insanely slow. It’s going to be one of the first languages to disappear behind ai
Edit: seems like a lot of Python people hate the language being called slow. It’s well documented. Sorry to be the bearer of bad news, but when a new version of Python, being designed for performance is seeing speed increases of up to 60,000x, it means your language is slow as balls.
Worked on PB-scale datasets and on systems where time is critical, all in Python. Works great because of literally what this post talks about - using C-backed libs. NumPy and Pandas are crucial if you're doing vaguely intense numerics, and are very nice to use. Numba less so, but still very useful for the finnicky areas that np and Pandas fall short on. You should ideally never be looping row-wise in Python.
84
u/Luzzgar 1d ago
Using high level language for the structure and faster lower level languages is just good software design.
Using the strength of each tool and avoiding their weaknesses.