r/ProgrammerHumor • • 4d ago

Meme pythonSlow

Post image
11k Upvotes

412 comments sorted by

View all comments

Show parent comment

4

u/HumanContinuity 3d ago

Basically the entire python data science and AI/ML ecosystem is just a bunch of C/C++/Rust wrappers.

If you could write them natively in python, you would absolutely see a difference when you throw them even mid sized datasets 

4

u/squabzilla 3d ago

Yes, Python is arguably just an API to interact with efficient C/C++/Rust libraries. And Python does a very good job of that. Which is why data analysis uses Python.

3

u/KevinJRussell 3d ago

Data analysis uses dozens of languages.