4 ms·
Multi-threading gets you programs that are, at the very most, 8x faster. Is it really worth it? If this makes it even slightly more difficult to develop Python
by globular-toast 3y ago
Multi-threading gets you programs that are, at the very most, 8x faster. Is it really worth it? If this makes it even slightly more difficult to develop Python for normal people then it will get forked, and that sucks. If it can be done without any impact then great, but I'm still not sure it's worth it.
- josefx 3y ago> at the very most, 8x faster. Where does that number come from? My current desktop has 32 logical cores and it has been a few years since I bought that one.
- alecmg 3y agomaybe its a reference to Amdahl's law? If you can parallelise 90% of your code, you get only 10x improvement even on infinite number of cores
- josefx 3y agoYou mix up time and code. You don't have to parallelize 100% of your code to scale with cores, you only have to parallelize the code that your software spends most of its time executing and that is often significantly less than 90%.
- usrbinbash 3y ago> at the very most, 8x faster. My 64 core server setup says otherwise. > Is it really worth it? Yes, very much so. > If this makes it even slightly more difficult to develop Python for normal people It won't. Pure python code will very likely not notice a difference.