Thank you, very complete and interesting exploration of the Gil! I would assume the "nogil" would be a flag during install/compile, but looking at how complex the threading implementation is I now doubt it!
Actually nevermind, reading the PEP they do propose a --disable-gil flag, and not using it would in theory keep your I/O bound programs as fast as they were
Fantastic video. I'm not a Python Programmer but I wonder why CPython doesn't handle this like other programming languages that support concurrency out of the box. I mean why don't they remove the GIL and then add new keywords to the language that can be used to provide atomicity and sequential consistency? Something like Java/.Net volatile. Are they worried about backwards compatibility?
GIL is not that uncommon, If I'm not mistaked, the Ruby uses GIL too. and they are not completely removing it, they are adding a switch to the interpreter.
Thank you! It is always a blast to learn with your videos!
Thank you, very complete and interesting exploration of the Gil!
I would assume the "nogil" would be a flag during install/compile, but looking at how complex the threading implementation is I now doubt it!
Actually nevermind, reading the PEP they do propose a --disable-gil flag, and not using it would in theory keep your I/O bound programs as fast as they were
right. its a flag. but one of the arguments against is "its complex and not very clear"
احسنت، یکی از معدود کسانی هستید که مدعی هستند و تعریف زبان برنامه نویسی و کامپایلر را به خوبی درک و بیان کرده اند..
Amazing explanation thanks for this Jadi
Amazing Jadi....
Way to indepth. Thanks for this information.
Glad you think so!
Great job ❤
Fantastic video.
I'm not a Python Programmer but I wonder why CPython doesn't handle this like other programming languages that support concurrency out of the box.
I mean why don't they remove the GIL and then add new keywords to the language that can be used to provide atomicity and sequential consistency? Something like Java/.Net volatile.
Are they worried about backwards compatibility?
GIL is not that uncommon, If I'm not mistaked, the Ruby uses GIL too. and they are not completely removing it, they are adding a switch to the interpreter.
VERY very GOOD video
Jadi would you please tell me your nvim vscode-like plugins? If there is any specific link or documentation you use. Thanks.
I'll share that soon. but its technically the LazyVIM config
Thanks to nogil now we know more about the dark side of Python. Thank you Jadi. Great video.