3 ms·
How does the GIL help you write concurrent code?
by weberc2 7y ago
How does the GIL help you write concurrent code?
- dual_basis 7y agoIt means you never have to worry about message passing or locks, because they aren't a thing at all. On the other hand, what looks like concurrent code often isn't, and is actually run slower than single process code, also because of the GIL.
- weberc2 7y agoThat reduces to "you don't have to worry about performance because the GIL doesn't let you write performant code". That's not what I think of as "helpful".