4 ms·
Wouldn't this negatively impact power consumption (over fine-grained, Jython-style locks) by having a processor repeating tasks instead of blocking and waiting
by SoftwareMaven 15y ago
Wouldn't this negatively impact power consumption (over fine-grained, Jython-style locks) by having a processor repeating tasks instead of blocking and waiting for a task? It seems like this is intended to allow Python to scale to multiple cores better, but that is most often useful in a data center environment, where wasting power seems like a bad idea.
- ch0wn 15y agoAs the author wrote at the end of the article, instead of removing the GIL once and for all, they will rather add an option to use STM instead of the GIL as compile-time option or maybe even at runtime, as it would not only effect power consumption but obviously the speed as well. That way the user can decide whether he needs multi-core scalability or simply speed.