3 ms·
This looks interesting, eagerly looking forward to learning what IPC will look like compared to python multiprocessing, Golang goroutines, C++ threads, and Java
by metadat 3y ago
This looks interesting, eagerly looking forward to learning what IPC will look like compared to python multiprocessing, Golang goroutines, C++ threads, and Java threads.
I wish there were a way to do away with the GIL entirely ^^.
- simonw 3y agohttps://github.com/colesbury/nogil https://github.com/colesbury/nogil does manage to get rid of the GIL, but it's not certain to make it into Python core. The main problem is the amount of existing libraries that depend on the existence of the GIL without realizing it - breaking those would be extremely disruptive.
- t-vi 3y agoOn the other hand, it would fix cases where there are somewhat rare hangs that are hard to reproduce, for example in multithreaded applications embedding Python. A while ago, I hit a deadlock in LibreOffice's Python extension system. I managed to fix it by changing the GIL to the more modern Python API for that, but I never managed to produce a reasonably small test case, so I didn't submit it.