5 ms·
But isn't what makes numpy efficient written in C?
by davidgrenier 3y ago
But isn't what makes numpy efficient written in C?
- phoe-krk 3y agoEverything that makes Python efficient is written in C or C++ or the like. Python in these situations is just a glue language (with an optional interactive layer) that makes using these libraries more feasible.
- btschaegg 3y agoWell, the Java source uses threads. Guess how that's implemented. FWIW if python provides an abstraction that keeps the code readable while keeping the efficiencies of C, I think that should count for python, not against it.
- kaba0 3y agoI mean.. threads are implemented by the OS, I don’t really see the equivalency here.