6 ms·
It seems like an axiom that no Python package can be written that does not depend on C/C++/Java doing the real work.
by kdlafan 2y ago
It seems like an axiom that no Python package can be written that does not depend on C/C++/Java doing the real work.
- noitpmeder 2y agoWhy would you rewrite something that already exists? It'd be a different story if the library evolved naturally starting with python, which it very much might if it was created today.
- nomel 2y agoPython is successful because everyone is aware that it has relatively terrible performance. As a result, anything remotely heavy is put into performant libraries that use not-python, leaving a nice glue language with fast libraries. If you have something CPU bound, and it's python code hitting that ceiling, you're probably throwing away 10x performance [1]. That's ok, because anyone that cares about performance doesn't do that (or quickly learns). [1] https://programming-language-benchmarks.vercel.app/cpp-vs-python https://programming-language-benchmarks.vercel.app/cpp-vs-py...