5 ms·
In my limited software engineering experience, most things are slow because they are built on other things that are slow. Generally people do not build softwar
by liquidify 6y ago
In my limited software engineering experience, most things are slow because they are built on other things that are slow. Generally people do not build software from the ground up. They simply reuse endlessly until someone high up gets so frustrated that they demand a complete rebuild. Then we start over by downloading a bunch of libraries and the same process begins again.
- sim_card_map 6y agoOr 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.