2 ms·
It is hard to get excited about concurrency in vanilla Python while the Global Interpreter Lock still chokes everything down internally. (Vanilla, here, should
by swdunlop 14y ago
It is hard to get excited about concurrency in vanilla Python while the Global Interpreter Lock still chokes everything down internally. (Vanilla, here, should be read "not Stackless.")
For more effective use of lightweight processes, I'd probably reach for Erlang or Occam.
- masklinn 14y agoNot sure why, the GIL is not an issue to node-style concurrency (based on an event loop and async IO), though you need alternative IO layers (Gevent provides exactly that, and can — if requested — monkeypatch the stdlib to replace standard synchronous IO calls by Gevent-provided async IO). In fact, mixing threads and an event loop with async IO is probably a good way to make everything blow up.