3 ms·
Nice course, but only if your platform supports the underlying concepts. For instance, does Python still have the Global Interpreter Lock (GIL) issue? It is th
by amelius 11y ago
Nice course, but only if your platform supports the underlying concepts.
For instance, does Python still have the Global Interpreter Lock (GIL) issue? It is the reason Python was (at least once) unsuited for concurrent programming.
It was still better than NodeJS which has no intra-process threading; and generators (coroutines) are also not fully supported (no yielding allowed within functions called from a generator).
- qu4z-2 11y agoAs a non-Python user (well, I've dabbled)... Is the GIL an issue for concurrency as well as parallelism? I would've thought that for things like coroutines the GIL wouldn't be a problem, but I could be wrong.
- srean 11y ago>but I could be wrong You aren't. Concurrency is a code-design/code-meaning issue. It has nothing to do with runtime execution. For example nice concurrency primitives lets you avoid callback hell.