Re:No-GIL mode coming for Python
by wtetzner on Friday July 28, 2023 @08:21PM
(#36915289)
Of course Java has thread safe collections in the standard library. ConcurrentHashMap etc. are popular in multithreaded contexts.
[ Parent
| on HN ]
The difference is that it's a language feature in python whereas the java equivalents had to be written with locking or other approaches for handling concurrent access.
It's not a language feature in Python though. The GIL doesn't automatically make code thread safe.