4 ms·
But consider that in perhaps 99% of current python code high performance (of the pure python code) is not the primary concern. And now for the times when perfor
by tda 3y ago
But consider that in perhaps 99% of current python code high performance (of the pure python code) is not the primary concern. And now for the times when performance does matter you can get a 20x (?) speedup without rewriting in another language.
- coldtea 3y agoI'd expect in many those cases people care for performance, they already use multiprocess (so the impact from a 20% hit GIL-free CPython would actually be a slowdown). And for those that do not use multiprocess, rewriting their currently single threaded Python code for no-gil shared-concurrency will indeed bring a speedup, but would still be a significant rewrite. Also there are people using Python for things like web serving, where performance might have been secondary to convenience when they picked Python, but still a sudden 15-20% slowdown will seriously impact their server budgets (or ability to update versions)...
- School-Cotton 3y ago> But consider that in perhaps 99% of current python code high performance (of the pure python code) is not the primary concern. Then why do we care about GIL removal at all?