4 ms·
it doesnt make it any less true. besides, that C python's GIL sucks doesnt mean threading or event models sucks. In doubt, ask nginx how they feel about that.
by zobzu 12y ago
it doesnt make it any less true. besides, that C python's GIL sucks doesnt mean threading or event models sucks.
In doubt, ask nginx how they feel about that. Then ask apache's mpn-prefork how that feels.
- freyrs3 12y agoIf you're holding a global mutex every 100 instructions while context switching between CPU bound tasks, then yes, the GIL does suck. There are a class of IO-bound problems where threading/evented models in Python can be used effectively but that's not the class of problems the author is talking about here.