On Fri, May 29, 2020 at 02:44:40PM -0400, tritium-list@sdamon.com wrote:
These are things that a runtime implementer has to decide on. These are also thing that a runtime use gets to complain about. "Don't share data amongst threads" is not advice to the cpython user to get truly parallel thread execution, its gaslighting them on what the GIL does and when. Its actively harmful to people who read that and don't know any better.
Please don't accuse others of gaslighting because you don't like the advice they give. Gaslighting is an expecially serious, malicious form of pyschological abuse. It doesn't mean "I disagree with your opinion", or "you're factually wrong", or even "you're lying". As for being "actively harmful", I think that the advice not to share mutable data between threads isn't harmful at all, but pretty close to essential. If you want to avoid deadlocks, livelocks and race conditions, you should avoid mutable data as much as possible. -- Steven