4 ms·
Or because we created languages like Python that are 10x slower than compiled languages and write code bases with millions of lines of code in them.
by sim_card_map 6y ago
Or because we created languages like Python that are 10x slower than compiled languages and write code bases with millions of lines of code in them.
- hansvm 6y agoIt's 10x slower at a lot of things, but even vanilla cpython is every bit as compiled as something like C#. Python is slow because of an extraordinary amount of runtime dynamism, because it doesn't have a JIT or many optimization passes, and because performance isn't a top concern of the project.
- charliebreslau 6y agoHigher abstraction -> less bugs. Forget low level, I beg you.
- oddity 6y agoI'm not sure this is a useful summary of the problem. I've seen an awful lot of code written in C and C++ that pisses away any and all advantage of using either. In general, I think software devs (and the software market) tend to value convenience over performance until it's too late, but the reasons why are so complicated and different per sector they'd make for a full PhD thesis and then some.
- rubatuga 6y agoPyPy is actually very fast, ~10x faster than standard python.