News for hackers. Stuff that matters.
Re:Go Creeping In by jacquesm on Tuesday June 18, 2019 @07:39AM (#20211898)
> all concurrency systems converge until they become an Erlang actor model

That's absolute gold, and I've seen a very accurate real life representation of that in recent times. Uncanny how many of those wheels we keep re-inventing.

Re:Go Creeping In by 0815test on Tuesday June 18, 2019 @07:48AM (#20211964)
Well, Erlang-like actor model is one basic pattern for achieving safe concurrency. A second one is keeping data read-only so that it can be freely accessed by multiple threads; and a further pattern is serializing access at run time (either using explicit locks, or in special cases with "non-blocking" algorithms and data structures). Rust is pretty unique in being able to comfortably encompass all of these patterns in its concurrency model, while ensuring safety.
Re:Go Creeping In by masklinn on Tuesday June 18, 2019 @08:25AM (#20212241)
> A second one is keeping data read-only so that it can be freely accessed by multiple threads

That's not really a "pattern for achieving safe concurrency". At one point, your concurrent processes need to communicate somehow or they're parallel more than concurrent.