u/sciolizerin r/ProgrammingLanguages • Recommends
On “What are some good thread-safety models?”
It's not necessarily the most efficient, but software transactional memory (STM) is about as easy as it gets (to use, not necessarily implement). The concurrency bugs you get from misuse of locks and channels simply don't happen in STM.
link to this video