Re:Show HN: ZFS Implementation in Python
by klyrs on Saturday May 04, 2019 @06:01PM
(#19829663)
Filesystem with a GIL, what could possibly go wrong? /s
[ Parent
| on HN ]
A lot less will go wrong than a filesystem without a GIL.
GIL is for safety and correctness, not speed.
Uh, no?
Python's global interpreter lock was added for single threaded speed and c library integrations, which often can't be used multithreaded
There was some talk about removing it recentlish to improve pythons multithreaded performance and Guido said something along the lines of
> "I'll remove it as long as single threaded performance doesn't suffer"
Which nobody succeeded in