5 ms·
I remember first discussions about removing the GIL back in 2021 and a lot of initial confusion about what the implications would be. This is a great summary if
by pininja 2y ago
I remember first discussions about removing the GIL back in 2021 and a lot of initial confusion about what the implications would be. This is a great summary if, like me, you weren’t satisfied with the initial explanations given at the time.
- ffsm8 2y ago2021 wasn't the first discussion about that. You can find forum and Reddit posts going back 15-20 years of people attempting to remove the GIL, Guido van Rossum just made the requirement that single core performance cannot be hurt by removing it, this made ever previous attempt fail in the end I.e. https://www.artima.com/weblogs/viewpost.jsp?thread=214235 https://www.artima.com/weblogs/viewpost.jsp?thread=214235
- pansa2 2y agoDid this attempt manage to preserve single-threaded performance, or was the requirement dropped?
- rightbyte 2y agoHe folded. The patches dropped some unrelated dead weight such that the effect is not as bad.
- klranh 2y agoThe effect is still 20-50% slowdown for single thread, even with the purported unrelated speedups to make the feature more palatable. That is absolutely in the range of previous attempts, which were rejected! The difference here is that its goes in now to gratify Facebook.
- EasyMark 2y agoFacebook or Microsoft?